Skip to content

Commit

Permalink
Bugfixes, minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
martonsagi committed Dec 4, 2017
1 parent 8b24e07 commit 4eceff5
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 113 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Change Log
All notable changes to the "nav-cside-color-theme" extension will be documented in this file.

## [0.0.4] - 2017-12-04
- Fix unwanted syntax coloring in comment lines
- Fix missing colors in trigger parameters
- Change text selection background to original C/Side blue
- Reorganized theme.json

## [0.0.3] - 2017-12-04
- Updated package information

Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nav-cside-color-theme",
"displayName": "Dynamics NAV C/Side Theme",
"description": "A VSCode color theme inspired by Microsoft Dynamics NAV C/Side Editor",
"version": "0.0.3",
"version": "0.0.4",
"publisher": "martonsagi",
"license": "MIT",
"author": {
Expand Down
10 changes: 8 additions & 2 deletions syntax/alsyntax.extended.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"name": "entity.name.trigger.al"
}
},
"match": "\\b(?i:(trigger|procedure))\\b\\s+(\\w+(\\.\\w+)?)(\\(.*?\\))?\\s*",
"match": "\\b(?i:(trigger|procedure))\\b\\s+(\\w+(\\.\\w+)?)\\s*",
"name": "meta.trigger.al"
},
{
Expand All @@ -33,7 +33,13 @@
}
},
"name": "entity.trigger.call.al"
}
},
{
"begin": ".*",
"end": ".*",
"match": "([\/]+.*)",
"name": "comment.line.al.restored"
}
],
"scopeName": "al.extended"
}
130 changes: 20 additions & 110 deletions themes/nav-cside-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"titleBar.border": "#e1e4e8",
"notification.background": "#54a3ff",
"statusBar.debuggingBackground": "#fafbfc",
"statusBar.debuggingForeground": "#24292e"
"statusBar.debuggingForeground": "#24292e",
"editor.selectionBackground": "#99C9EF"
},
"tokenColors": [
{
Expand Down Expand Up @@ -78,92 +79,6 @@
"foreground": "#005cc5"
}
},
{
"scope": [
"markup.fenced_code",
"markup.inline"
],
"settings": {
"foreground": "#6a737d"
}
},
{
"scope": "string",
"settings": {
"foreground": "#032f62"
}
},
{
"scope": [
"constant.numeric",
"constant.language",
"variable.language.this",
"variable.other.class",
"variable.other.constant",
"meta.property-name",
"meta.property-value",
"support"
],
"settings": {
"foreground": "#005cc5"
}
},
{
"scope": [
"keyword",
"storage.modifier",
"storage.type",
"support.function.node",
"support.type.property-name.json",
"punctuation.separator.key-value",
"punctuation.definition.template-expression"
],
"settings": {
"foreground": "#d73a49"
}
},
{
"scope": "variable.parameter.function",
"settings": {
"foreground": "#E27F2D"
}
},
{
"scope": [
"keyword.operator.accessor",
"meta.group.braces.round.function.arguments",
"meta.template.expression"
],
"settings": {
"foreground": "#24292eff"
}
},
{
"scope": [
"entity.name.type",
"entity.other.inherited-class",
"meta.function-call",
"meta.instance.constructor",
"entity.other.attribute-name",
"entity.name.function"
],
"settings": {
"foreground": "#6f42c1"
}
},
{
"scope": [
"entity.name.tag",
"string.quoted",
"string.regexp",
"string.interpolated",
"string.template",
"keyword.other.template"
],
"settings": {
"foreground": "#dd0000"
}
},
{
"scope": "token.info-token",
"settings": {
Expand All @@ -188,56 +103,51 @@
"foreground": "#800080"
}
},
{
"scope": "comment",
"settings": {
"foreground": "#008000"
}
},
{
"scope": "string",
"settings": {
"foreground": "#dd0000"
}
},
{
"scope": "keyword",
"scope": [
"keyword",
"entity.name.type.al",
"constant.boolean.al"
],
"settings": {
"foreground": "#0000FF"
}
},
{
"scope": ["entity.name.trigger.al"],
"scope": [
"entity.name.trigger.al",
"entity.trigger.call1"
],
"settings": {
"foreground": "#000080",
"fontStyle": "bold"
}
},
{
"scope": ["entity.name.type.al"],
"scope": "constant.boolean.al",
"settings": {
"foreground": "#0000FF",
"fontStyle": ""
}
},
{
"scope": ["entity.trigger.call1"],
"settings": {
"foreground": "#000080",
"fontStyle": "bold"
"fontStyle": "italic"
}
},
{
"scope": ["constant.boolean.al"],
"scope": "constant.numeric",
"settings": {
"foreground": "#0000FF",
"fontStyle": "italic"
"foreground": "#FF00FF"
}
},
{
"scope": "constant.numeric",
"scope": [
"comment",
"comment.line.al.restored"
],
"settings": {
"foreground": "#FF00FF"
"foreground": "#008000"
}
}
]
Expand Down

0 comments on commit 4eceff5

Please sign in to comment.