Mohamed3nan / jetbrains-darcula-theme

🎨A theme extension for Visual Studio Code based on Darcula theme from Jetbrains IDEs with some improvements.

Home Page:https://marketplace.visualstudio.com/items?itemName=Anan.jetbrains-darcula-theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Golang support

medifle opened this issue · comments

Like this theme!

It has almost the same color as my Goland Darcula when syntax matches. But many can be improved:

  • package name
  • package method/function/variable
  • type
commented

Like this theme!

It has almost the same color as my Goland Darcula when syntax matches. But many can be improved:

  • package name
  • package method/function/variable
  • type

It will be very helpful if you post screenshots for these examples:

  • package name
  • package method/function/variable
  • type

just to compare the colors and make some edits because I do not have GoLand IDE.

Take an example from here:

Comparison 1

GoLand:
goland

VSCode:
vscode

Diff:

  • struct type

    • LanguageFeature
    • Language
    • File
  • package name

    • base64
    • fmt
    • filepath
    • jsoniter
  • package method

    • DecodeString
    • Sprintf
    • Unmarshal
    • Printf
    • Println
    • Ext
    • Errorf
    • ToLower
  • constant

    • languages
  • built-in function

    • panic
    • len
  • + operator at line 87

From my observation, package method call shares the same color as function call.

err is a mystery to me, some err are highlighted in GoLand, others are not.

Comparison 2

Goland:
goland2

VSCode:
vscode2

Diff:

  • package name

    • processor
  • constant

    • all the purple italic const
  • type

    • stateType
    • machine
  • receiver

    • m in resetState method
  • character

    • , \t, \n, \r at line 36

Let me know if you need other info, I am glad to provide more. BTW GoLand has a 30 days trial if there is a need to extract the color.

commented

Thank you for your contribution.

Since VSCode relies on textmate scopes as a selector for theme which sometimes can not differentiate some syntax like Goland.
I cannot highlight these syntaxes:

  • struct type
  • constant
  • type
  • receiver

I downloaded GoLand and from my observation, it uses some machine learning for highlighting.

However, these elements are improved:

  • package name
  • package method
  • built-in functions
  • operators
  • characters

and a new version released, you can update the theme now ;)