Compare commits

..

19 Commits
1.1.2 ... 1.1.3

Author SHA1 Message Date
Hugo Locurcio
1b358fadec Bump to version 1.1.3 2022-01-27 14:22:06 +01:00
Rémi Verschelde
20dc0445c3 Merge pull request #311 from godotengine/dependabot/npm_and_yarn/marked-4.0.10 2022-01-23 00:21:54 +01:00
Rémi Verschelde
1a932d5283 Merge pull request #273 from godotengine/dependabot/npm_and_yarn/ws-7.4.6 2022-01-23 00:21:43 +01:00
Rémi Verschelde
975acd7aa4 Merge pull request #268 from godotengine/dependabot/npm_and_yarn/lodash-4.17.21 2022-01-23 00:21:30 +01:00
dependabot[bot]
1ec75dc622 Bump marked from 0.7.0 to 4.0.10
Bumps [marked](https://github.com/markedjs/marked) from 0.7.0 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v0.7.0...v4.0.10)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15 02:55:15 +00:00
dependabot[bot]
6fe93c9c6b Bump actions/setup-node from 2.3.2 to 2.5.1 (#309)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.3.2 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.3.2...v2.5.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-28 18:15:42 +01:00
Francois Belair
363160ee3b Fix conditional breakpoints being parsed as regular breakpoints (#278)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-11-03 15:15:42 +01:00
dependabot[bot]
ce30e6ed95 Bump path-parse from 1.0.6 to 1.0.7 (#293)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-12 23:26:04 +02:00
dependabot[bot]
2364664f7a Bump actions/setup-node from 2.2.0 to 2.3.2 (#290)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.2.0 to 2.3.2.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.2.0...v2.3.2)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-04 17:19:14 +02:00
dependabot[bot]
21cfd82f4d Bump actions/setup-node from 2.1.5 to 2.2.0 (#284)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-30 18:40:45 +02:00
Vlad-Zumer
29f1bc0ceb Change $ node path shorthand regex to match only valid paths (#276)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-06-15 18:39:29 +02:00
Vlad-Zumer
338b6ae977 Added 'in' to the list of keywords and added rule for $ shorthand (#274) 2021-06-14 00:23:46 +02:00
dependabot[bot]
71a4a0420d Bump ws from 7.3.0 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.3.0 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.3.0...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-30 19:55:21 +00:00
dependabot[bot]
383dcc9507 Bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 22:19:26 +00:00
Lightning_A
5c5c19b534 Fix typo in snippets: "decleration" -> "declaration" (#262) 2021-03-15 17:12:45 +01:00
dependabot[bot]
91da651444 Bump actions/setup-node from v2.1.4 to v2.1.5 (#261)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.4...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 15:04:23 +01:00
iammrtndev
f2a6288276 Add "remote" keyword for highlighting (#257)
"remote" is currently not highlighted. https://imgur.com/WkP9STd
2021-02-07 16:57:48 +01:00
dependabot[bot]
a8872c2e56 Bump actions/setup-node from v2.1.3 to v2.1.4 (#251)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.3 to v2.1.4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.3...c46424eee26de4078d34105d3de3cc4992202b1e)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-17 13:41:49 +01:00
dependabot[bot]
e9f674d9e7 Bump actions/setup-node from v2.1.2 to v2.1.3 (#250)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.2 to v2.1.3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.2...27082cecf3ff7a1742dbd5e12605f0cb59dce2d9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 15:31:02 +01:00
8 changed files with 47 additions and 20 deletions

View File

@@ -9,7 +9,7 @@ jobs:
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v2.5.1
with:
node-version: 12.x

View File

@@ -1,5 +1,13 @@
# Change Log
### 1.1.3
* [Fix conditional breakpoints being parsed as regular breakpoints](https://github.com/godotengine/godot-vscode-plugin/pull/278)
- [Add `in` to the list of keywords and add rule for `$` shorthand](https://github.com/godotengine/godot-vscode-plugin/pull/274)
- [Fix typo in snippets: "decleration" -> "declaration"](https://github.com/godotengine/godot-vscode-plugin/pull/262)
- [Add `remote` keyword to syntax highlighting](https://github.com/godotengine/godot-vscode-plugin/pull/257)
- [Remove the configuration item `godot-tools.check_config` as it has no effect](https://github.com/godotengine/godot-vscode-plugin/pull/246)
- [Fix the syntax of escaped characters in strings](https://github.com/godotengine/godot-vscode-plugin/pull/247)
### 1.1.1
* Fix bug for GDScript debugger
* Add TCP protocol support for GDScript language server Godot 3.2.2

View File

@@ -132,7 +132,7 @@
]
},
"signal decleration": {
"signal declaration": {
"prefix": "signal",
"body": [
"signal ${1:signalname}(${2:args})"

26
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "godot-tools",
"version": "1.1.2",
"version": "1.1.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -408,9 +408,9 @@
}
},
"lodash": {
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
"dev": true
},
"map-stream": {
@@ -440,9 +440,9 @@
}
},
"marked": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz",
"integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg=="
"version": "4.0.10",
"resolved": "https://registry.npmjs.org/marked/-/marked-4.0.10.tgz",
"integrity": "sha512-+QvuFj0nGgO970fySghXGmuw+Fd0gD2x3+MqCWLIPf5oxdv1Ka6b2q+z9RP01P/IaKPMEramy+7cNy/Lw8c3hw=="
},
"mdurl": {
"version": "1.0.1",
@@ -568,9 +568,9 @@
"dev": true
},
"path-parse": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
"dev": true
},
"pause-stream": {
@@ -861,9 +861,9 @@
"dev": true
},
"ws": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.3.0.tgz",
"integrity": "sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w=="
"version": "7.4.6",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
"integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A=="
},
"yauzl": {
"version": "2.10.0",

View File

@@ -2,7 +2,7 @@
"name": "godot-tools",
"displayName": "godot-tools",
"icon": "icon.png",
"version": "1.1.2",
"version": "1.1.3",
"description": "Tools for game development with godot game engine",
"repository": {
"type": "git",
@@ -301,11 +301,11 @@
"dependencies": {
"await-notify": "^1.0.1",
"global": "^4.4.0",
"marked": "^0.7.0",
"marked": "^4.0.10",
"net": "^1.0.2",
"terminate": "^2.1.2",
"vscode-debugadapter": "^1.38.0",
"vscode-languageclient": "^5.2.1",
"ws": "^7.0.0"
"ws": "^7.4.6"
}
}

View File

@@ -298,7 +298,10 @@ export class GodotDebugSession extends LoggingDebugSession {
});
client_lines.forEach((l) => {
if (bp_lines.indexOf(l) === -1) {
this.debug_data.set_breakpoint(path, l);
let bp = args.breakpoints.find((bp_at_line) => (bp_at_line.line == l));
if (!bp.condition) {
this.debug_data.set_breakpoint(path, l);
}
}
});

View File

@@ -17,6 +17,7 @@
{ "include": "#class_def" },
{ "include": "#class_name"},
{ "include": "#builtin_func" },
{ "include": "#builtin_get_node_shorthand" },
{ "include": "#builtin_classes" },
{ "include": "#const_vars" },
{ "include": "#class_new"},
@@ -103,7 +104,7 @@
},
"keywords": {
"match": "\\b(?i:if|elif|else|for|while|break|continue|pass|return|match|func|class|class_name|extends|is|in|onready|tool|static|export|setget|const|var|as|void|enum|preload|assert|yield|signal|breakpoint|rpc|sync|master|puppet|slave|remotesync|mastersync|puppetsync)\\b",
"match": "\\b(?i:if|elif|else|for|while|break|continue|pass|return|match|func|class|class_name|extends|is|in|onready|tool|static|export|setget|const|var|as|void|enum|preload|assert|yield|signal|breakpoint|rpc|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|in)\\b",
"name": "keyword.language.gdscript"
},
"letter": {
@@ -202,6 +203,10 @@
"match": "(?<![^.]\\.|:)\\b(sin|cos|tan|sinh|cosh|tanh|asin|acos|atan|atan2|sqrt|fmod|fposmod|floor|ceil|round|abs|sign|pow|log|exp|is_nan|is_inf|ease|decimals|stepify|lerp|dectime|randomize|randi|randf|rand_range|seed|rand_seed|deg2rad|rad2deg|linear2db|db2linear|max|min|clamp|nearest_po2|weakref|funcref|convert|typeof|type_exists|char|str|print|printt|prints|printerr|printraw|var2str|str2var|var2bytes|bytes2var|range|load|inst2dict|dict2inst|hash|Color8|print_stack|instance_from_id|preload|yield|assert)\\b(?=(\\()([^)]*)(\\)))",
"name": "support.function.builtin.gdscript"
},
"builtin_get_node_shorthand": {
"match": "\\$((\\\"(\\.\\.\\/)+|\\\"\\/|\\\"[0-9]+|\\\")([0-9A-Za-z\\_]+\\/)*[A-Za-z0-9\\_]+\\\"|[A-Za-z\\_]+(\\/[A-Za-z\\_]+)*)",
"name": "support.function.builtin.shorthand.gdscript"
},
"builtin_classes": {
"match": "(?<![^.]\\.|:)\\b(Vector2|Vector3|Color|Rect2|Array|Basis|Dictionary|Plane|Quat|RID|Rect3|Transform|Transform2D|AABB|String|Color|NodePath|RID|Object|Dictionary|Array|PoolByteArray|PoolIntArray|PoolRealArray|PoolStringArray|PoolVector2Array|PoolVector3Array|PoolColorArray)\\b",
"name": "support.class.library.gdscript"

11
syntaxes/README.md Normal file
View File

@@ -0,0 +1,11 @@
# Helpful resources
You can find the regex syntax that VSCode uses [here](https://macromates.com/manual/en/regular_expressions).
## Creating and debugging regex
When creating regexes it is sometimes useful to test against a data set.
[Regex101](https://regex101.com/) allows for pretty good match testing. Unfortunately, it does not support the regex (Ruby) version that TextMate uses.
[ExtendsClass's](https://extendsclass.com/regex-tester.html#ruby) regex engine does support the Ruby variant, but the match testing experience is not as good. However, it automatically generates an FSM for your regex, which is very useful when debugging.