rokoroku / vscode-theme-darcula Goto Github PK
View Code? Open in Web Editor NEWA theme for Visual Studio Code based on Darcula theme from Jetbrains IDEs.
License: MIT License
A theme for Visual Studio Code based on Darcula theme from Jetbrains IDEs.
License: MIT License
In Go, types are defined like so:
type logLevel int
Your extension colors these a bluish tint, which is similar to how Goland darcula does it.
It'd be great to extend this coloring for any time user defined types appear, such as:
package main
type logLevel int
const (
Info logLevel = 0 // `logLevel` should be of different color than `Info`
Warn logLevel = 1
Error logLevel = 2
)
// same goes for functions argument types and return types
func SetLogLevel(lvl logLevel) logLevel {
var packageLevel logLevel = lvl // and var declarations types
var lotsLevels []logLevel
}
All logLevel
appearances should have a slightly different color. See this image https://www.jetbrains.com/go/img/screenshots/1_Code_insight_2.png and this one https://www.jetbrains.com/go/img/screenshots/2_Navigation_Search.png
microsoft/TypeScript-TmLanguage#542
Prior to above patch, variable.other.constant
only match for UPPER_CASED constants, but now it matches all const
variable. So coloring of const variable going to be broken.
Hey, thank you for the great extension.
I found that some of the primary colors don't match the originals. This may cause eye fatigue. I feel a little discomfort from such bright yellow and white. Please, take a look at these pictures bellow.
Have these colors been changed on purpose?
Is it possible to make this theme usable with intelliJ? I really like it
Currently JavaScript template strings are not recognized correctly.
Here is a preview.
Currently the string token scopes are listed like
{
"name": "Strings",
"scope": "string,string.character.escape,string.template.quoted,string.template.quoted.punctuation,string.template.quoted.punctuation.single,string.template.quoted.punctuation.double,string.type.declaration.annotation,string.template.quoted.punctuation.tag",
"settings": {
"foreground": "#6A8759"
}
},
{
"name": "String Interpolation Begin and End",
"scope": "punctuation.definition.template-expression.begin,punctuation.definition.template-expression.end",
"settings": {
"foreground": "#CC8242"
}
},
{
"name": "String Interpolation Body",
"scope": "expression.string,meta.template.expression",
"settings": {
"foreground": "#CCCCCC"
}
},
I was able to fix with the following customizations,
It may be something you want to change in the core theme.
"editor.tokenColorCustomizations": {
"[Darcula]": {
"textMateRules": [
{
"name": "Strings",
"scope": "string",
"settings": {
"foreground": "#6A8759"
}
},
{
"name": "String Interpolation Begin and End",
"scope": "punctuation.quasi.element.begin,punctuation.quasi.element.end",
"settings": {
"foreground": "#CC8242"
}
},
{
"name": "String Interpolation Body",
"scope": "entity.quasi.element,expression.string",
"settings": {
"foreground": "#CCCCCC"
}
}
]
}
}
and is what I think was originally intended.
Thanks!
I'd like to use this theme in VSCodium. The OpenVSX Extension Library allows suggestions at https://github.com/open-vsx/publish-extensions but requires hosted extensions to have a LICENSE compatible with the Eclipse Public License 2.0. Please consider adding one to this repository.
"editor.tokenColorCustomizations": {
"variables": {
"foreground": "#bf72e6",
}
},
<?php
namespace Project\Src;
class Test
{
public function test()
{
$Int = 0;
return boolval($Int);
}
}
The Syntax Highlight In boolval($Int)
Will Be Incorrect.
The Dolar Sign ($) Will Be In White
When using $variable the variable doesn't get a color. In a single line cases it would be ok, but when using in just a little more complex syntax, distinguishing a variable from operators and constants gets hard to read. I know the theme is not intended for PHP, but when this could be implemented, I think PHP would be verry complete too.
Thank you for this lovely theme!
As for February 2018 update now we can highlight active line number: https://code.visualstudio.com/updates/v1_21#_coloring-of-active-line-number
Would be great to add this to the theme.
Hi!
I really like your theme and it is really nice to be able to use it in the different editors I use including vscode :).
I would really happy if you could change the lineHighlight color to the color of the original jetbrains theme (I think it is #323232). Because of this the line I am editing is not highlighted.
Thanks in advance!
When viewing a .diff/.patch file there is currently no syntax highlighting - and since vscode doesn't have an option to use a different theme for certain file types I currently need to change the global theme away from this one temporarily if I want to view a diff file properly...
Hi. Thanks for the amazing theme. Really close to the original one used in JetBrains products.
Here are some small things I'd like to be changed: http://take.ms/Z62D3
The top one is vs-code with your theme and the bottom one is WebStrom with built-in Darcula theme. What do you think?
Installing the darcula theme on VS Code Version Version: 1.42.1 looks like the following screenshot:
I think the background color of the editorGutter
should match the background color of the editor, like in the screenshot of the readme, for these reasons:
What do you think, should the gutters background color be adjusted accordingly?
If the gutters background color gets changed, I think the sidebars background color must be adjusted, too (darker or lighter).
Annyeong-haseyo
I've created a new theme based on your great work. The main difference is that mine is also styling UI elements, since that's now supported. I first wanted to create a pull request, but the differences were too big (XML => JSON). But if you don't mind these changes, we could still merge?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.