assembly-yasm-helper 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +7 -0
- package/.vscodeignore +10 -0
- package/.vsixmanifest +44 -0
- package/LICENSE +21 -0
- package/Themes/tasmDark.tmTheme.json +134 -0
- package/Themes/tasmHC.tmTheme.json +136 -0
- package/Themes/tasmLight.tmTheme.json +137 -0
- package/bin/assembly-yasm-lsp.js +2 -0
- package/changelog.md +130 -0
- package/configs/language-configuration.json +49 -0
- package/icon.png +0 -0
- package/lsp/server.js +423 -0
- package/out/core/compilerEngine.js +77 -0
- package/out/core/completionEngine.js +259 -0
- package/out/core/diagnosticEngine.js +305 -0
- package/out/core/foldingEngine.js +55 -0
- package/out/core/hoverEngine.js +62 -0
- package/out/core/referencesEngine.js +39 -0
- package/out/core/semanticEngine.js +64 -0
- package/out/data/enums.js +35 -0
- package/out/data/instructionSignatures.js +422 -0
- package/out/data/keywords.js +359 -0
- package/out/data/operandTypes.js +10 -0
- package/out/data/structs.js +132 -0
- package/out/engine/memoryAddressParser.js +45 -0
- package/out/engine/memoryState.js +38 -0
- package/out/engine/memoryTokenizer.js +28 -0
- package/out/extension.js +146 -0
- package/out/instructionRegistry.js +27 -0
- package/out/providers/compilerProvider.js +77 -0
- package/out/providers/completionProvider.js +73 -0
- package/out/providers/definitionProvider.js +41 -0
- package/out/providers/diagnosticProvider.js +32 -0
- package/out/providers/foldingProvider.js +18 -0
- package/out/providers/hoverProvider.js +25 -0
- package/out/providers/referencesProvider.js +28 -0
- package/out/providers/renameProvider.js +70 -0
- package/out/providers/semanticTokensProvider.js +29 -0
- package/out/providers/signatureHelpProvider.js +125 -0
- package/out/providers/symbolProvider.js +66 -0
- package/out/registry.js +167 -0
- package/out/scanner.js +174 -0
- package/out/tokenizer.js +67 -0
- package/out/utils.js +89 -0
- package/out/vsc/fileData.js +21 -0
- package/package.json +241 -0
- package/readme.md +80 -0
- package/snippets.json +141 -0
- package/syntaxes/assembly.tmLanguage.json +315 -0
package/.vscodeignore
ADDED
package/.vsixmanifest
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
|
|
3
|
+
<Metadata>
|
|
4
|
+
<Identity Language="en-US" Id="assembly-yasm-helper" Version="1.0.3" Publisher="VVeb1250" />
|
|
5
|
+
<DisplayName>Assembly YASM Helper</DisplayName>
|
|
6
|
+
<Description xml:space="preserve">Language support and smart autocomplete for YASM/NASM Assembler</Description>
|
|
7
|
+
<Tags>theme,color-theme,snippet,keybindings,assembly,AssemblyYASM,Assembly,YASM,NASM,__ext_asm,__ext_s,__ext_S</Tags>
|
|
8
|
+
<Categories>Programming Languages</Categories>
|
|
9
|
+
<GalleryFlags>Public</GalleryFlags>
|
|
10
|
+
|
|
11
|
+
<Properties>
|
|
12
|
+
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="^1.48.0" />
|
|
13
|
+
<Property Id="Microsoft.VisualStudio.Code.ExtensionDependencies" Value="" />
|
|
14
|
+
<Property Id="Microsoft.VisualStudio.Code.ExtensionPack" Value="" />
|
|
15
|
+
<Property Id="Microsoft.VisualStudio.Code.ExtensionKind" Value="workspace" />
|
|
16
|
+
<Property Id="Microsoft.VisualStudio.Code.LocalizedLanguages" Value="" />
|
|
17
|
+
<Property Id="Microsoft.VisualStudio.Code.EnabledApiProposals" Value="" />
|
|
18
|
+
|
|
19
|
+
<Property Id="Microsoft.VisualStudio.Code.ExecutesCode" Value="true" />
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
<Property Id="Microsoft.VisualStudio.Services.GitHubFlavoredMarkdown" Value="true" />
|
|
27
|
+
<Property Id="Microsoft.VisualStudio.Services.Content.Pricing" Value="Free"/>
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
</Properties>
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
</Metadata>
|
|
35
|
+
<Installation>
|
|
36
|
+
<InstallationTarget Id="Microsoft.VisualStudio.Code"/>
|
|
37
|
+
</Installation>
|
|
38
|
+
<Dependencies/>
|
|
39
|
+
<Assets>
|
|
40
|
+
<Asset Type="Microsoft.VisualStudio.Code.Manifest" Path="extension/package.json" Addressable="true" />
|
|
41
|
+
<Asset Type="Microsoft.VisualStudio.Services.Content.Details" Path="extension/readme.md" Addressable="true" />
|
|
42
|
+
<Asset Type="Microsoft.VisualStudio.Services.Content.Changelog" Path="extension/changelog.md" Addressable="true" />
|
|
43
|
+
</Assets>
|
|
44
|
+
</PackageManifest>
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 VVeb1250
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "dark",
|
|
3
|
+
"colors": {
|
|
4
|
+
"editor.background": "#1e1e1e",
|
|
5
|
+
"editor.foreground": "#d4d4d4",
|
|
6
|
+
"editorIndentGuide.background": "#404040",
|
|
7
|
+
"editorRuler.foreground": "#333333",
|
|
8
|
+
"activityBarBadge.background": "#007acc",
|
|
9
|
+
"sideBarTitle.foreground": "#bbbbbb"
|
|
10
|
+
},
|
|
11
|
+
"semanticTokenColors": {
|
|
12
|
+
"macro": "#DCDCAA",
|
|
13
|
+
"register": "#9CDCFE"
|
|
14
|
+
},
|
|
15
|
+
"tokenColors": [
|
|
16
|
+
{
|
|
17
|
+
"scope": "comment",
|
|
18
|
+
"settings": {
|
|
19
|
+
"foreground": "#7AA04B"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"scope": "string",
|
|
24
|
+
"settings": {
|
|
25
|
+
"foreground": "#CE9178"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"scope": "string.quoted.single.asm",
|
|
30
|
+
"settings": {
|
|
31
|
+
"foreground": "#5C9962"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"scope": "string.quoted.double.asm",
|
|
36
|
+
"settings": {
|
|
37
|
+
"foreground": "#D28E8E"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"scope": "constant.character.escape.asm",
|
|
42
|
+
"settings": {
|
|
43
|
+
"foreground": "#D7BA7D"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"scope": "constant.numeric.asm",
|
|
48
|
+
"settings": {
|
|
49
|
+
"foreground": "#A3D98C"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"scope": "keyword.control.asm",
|
|
54
|
+
"settings": {
|
|
55
|
+
"foreground": "#3794CD"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"scope": "keyword.control.preprocessor.asm",
|
|
60
|
+
"settings": {
|
|
61
|
+
"foreground": "#C586C0"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"scope": "keyword.operator.asm",
|
|
66
|
+
"settings": {
|
|
67
|
+
"foreground": "#9CDCFE"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"scope": "storage.type.asm",
|
|
72
|
+
"settings": {
|
|
73
|
+
"foreground": "#3794CD"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"scope": "storage.modifier.asm",
|
|
78
|
+
"settings": {
|
|
79
|
+
"foreground": "#B351EC"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"scope": "variable.other.register.asm",
|
|
84
|
+
"settings": {
|
|
85
|
+
"foreground": "#A2C3BB"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"scope": "variable.name.asm",
|
|
90
|
+
"settings": {
|
|
91
|
+
"foreground": "#d4d4d4"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"scope": "support.function.label.asm",
|
|
96
|
+
"settings": {
|
|
97
|
+
"foreground": "#FFE291",
|
|
98
|
+
"fontStyle": "bold"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"scope": "entity.name.function.asm",
|
|
103
|
+
"settings": {
|
|
104
|
+
"foreground": "#FFE291"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"scope": "entity.name.section.asm",
|
|
109
|
+
"settings": {
|
|
110
|
+
"foreground": "#5FC0CF"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"scope": "entity.name.constant.asm",
|
|
115
|
+
"settings": {
|
|
116
|
+
"foreground": "#D7BA7D"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"scope": "variable.language.asm",
|
|
121
|
+
"settings": {
|
|
122
|
+
"foreground": "#C8A8FF",
|
|
123
|
+
"fontStyle": "italic"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"scope": "punctuation.separator.asm",
|
|
128
|
+
"settings": {
|
|
129
|
+
"foreground": "#808080"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"semanticHighlighting": true
|
|
134
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "dark",
|
|
3
|
+
"colors": {
|
|
4
|
+
"editor.background": "#000000",
|
|
5
|
+
"editor.foreground": "#d4d4d4",
|
|
6
|
+
"editorIndentGuide.background": "#404040",
|
|
7
|
+
"editorRuler.foreground": "#333333",
|
|
8
|
+
"activityBarBadge.background": "#007acc",
|
|
9
|
+
"sideBarTitle.foreground": "#bbbbbb",
|
|
10
|
+
"contrastActiveBorder": "#FFFFFF",
|
|
11
|
+
"contrastBorder": "#DEE7F2"
|
|
12
|
+
},
|
|
13
|
+
"semanticTokenColors": {
|
|
14
|
+
"macro": "#DCDCAA",
|
|
15
|
+
"register": "#9CDCFE"
|
|
16
|
+
},
|
|
17
|
+
"tokenColors": [
|
|
18
|
+
{
|
|
19
|
+
"scope": "comment",
|
|
20
|
+
"settings": {
|
|
21
|
+
"foreground": "#7AA04B"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"scope": "string",
|
|
26
|
+
"settings": {
|
|
27
|
+
"foreground": "#CE9178"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"scope": "string.quoted.single.asm",
|
|
32
|
+
"settings": {
|
|
33
|
+
"foreground": "#5C9962"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"scope": "string.quoted.double.asm",
|
|
38
|
+
"settings": {
|
|
39
|
+
"foreground": "#D28E8E"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"scope": "constant.character.escape.asm",
|
|
44
|
+
"settings": {
|
|
45
|
+
"foreground": "#D7BA7D"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"scope": "constant.numeric.asm",
|
|
50
|
+
"settings": {
|
|
51
|
+
"foreground": "#A3D98C"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"scope": "keyword.control.asm",
|
|
56
|
+
"settings": {
|
|
57
|
+
"foreground": "#569CD6"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"scope": "keyword.control.preprocessor.asm",
|
|
62
|
+
"settings": {
|
|
63
|
+
"foreground": "#C586C0"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"scope": "keyword.operator.asm",
|
|
68
|
+
"settings": {
|
|
69
|
+
"foreground": "#B7EDF1"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"scope": "storage.type.asm",
|
|
74
|
+
"settings": {
|
|
75
|
+
"foreground": "#569CD6"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"scope": "storage.modifier.asm",
|
|
80
|
+
"settings": {
|
|
81
|
+
"foreground": "#C586C0"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"scope": "variable.other.register.asm",
|
|
86
|
+
"settings": {
|
|
87
|
+
"foreground": "#A2C3BB"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"scope": "variable.name.asm",
|
|
92
|
+
"settings": {
|
|
93
|
+
"foreground": "#9CDCFE"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"scope": "support.function.label.asm",
|
|
98
|
+
"settings": {
|
|
99
|
+
"foreground": "#DCDCAA",
|
|
100
|
+
"fontStyle": "bold"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"scope": "entity.name.function.asm",
|
|
105
|
+
"settings": {
|
|
106
|
+
"foreground": "#DCDCAA"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"scope": "entity.name.section.asm",
|
|
111
|
+
"settings": {
|
|
112
|
+
"foreground": "#4EC9B0"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"scope": "entity.name.constant.asm",
|
|
117
|
+
"settings": {
|
|
118
|
+
"foreground": "#DCDCAA"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"scope": "variable.language.asm",
|
|
123
|
+
"settings": {
|
|
124
|
+
"foreground": "#C8A8FF",
|
|
125
|
+
"fontStyle": "italic"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"scope": "punctuation.separator.asm",
|
|
130
|
+
"settings": {
|
|
131
|
+
"foreground": "#808080"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"semanticHighlighting": true
|
|
136
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "light",
|
|
3
|
+
"colors": {
|
|
4
|
+
"editor.background": "#FFFFFF",
|
|
5
|
+
"editor.foreground": "#594A4A",
|
|
6
|
+
"editorIndentGuide.background": "#404040",
|
|
7
|
+
"editorRuler.foreground": "#333333",
|
|
8
|
+
"activityBarBadge.background": "#007acc",
|
|
9
|
+
"sideBarTitle.foreground": "#bbbbbb"
|
|
10
|
+
},
|
|
11
|
+
"semanticTokenColors": {
|
|
12
|
+
"macro": "#795E26",
|
|
13
|
+
"register": "#4B65B4"
|
|
14
|
+
},
|
|
15
|
+
"tokenColors": [
|
|
16
|
+
{
|
|
17
|
+
"scope": "comment",
|
|
18
|
+
"settings": {
|
|
19
|
+
"foreground": "#6A9955"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"scope": "string",
|
|
24
|
+
"settings": {
|
|
25
|
+
"foreground": "#A05C2C"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"scope": "string.quoted.single.asm",
|
|
30
|
+
"settings": {
|
|
31
|
+
"foreground": "#5C9962"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"scope": "string.quoted.double.asm",
|
|
36
|
+
"settings": {
|
|
37
|
+
"foreground": "#914040"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"scope": "constant.character.escape.asm",
|
|
42
|
+
"settings": {
|
|
43
|
+
"foreground": "#795E26"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"scope": "constant.numeric.asm",
|
|
48
|
+
"settings": {
|
|
49
|
+
"foreground": "#D18100"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"scope": "keyword.control.asm",
|
|
54
|
+
"settings": {
|
|
55
|
+
"foreground": "#066289",
|
|
56
|
+
"fontStyle": "bold"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"scope": "keyword.control.preprocessor.asm",
|
|
61
|
+
"settings": {
|
|
62
|
+
"foreground": "#7B3F9E",
|
|
63
|
+
"fontStyle": "bold"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"scope": "keyword.operator.asm",
|
|
68
|
+
"settings": {
|
|
69
|
+
"foreground": "#000000"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"scope": "storage.type.asm",
|
|
74
|
+
"settings": {
|
|
75
|
+
"foreground": "#066289"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"scope": "storage.modifier.asm",
|
|
80
|
+
"settings": {
|
|
81
|
+
"foreground": "#28289F"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"scope": "variable.other.register.asm",
|
|
86
|
+
"settings": {
|
|
87
|
+
"foreground": "#4B65B4",
|
|
88
|
+
"fontStyle": "italic"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"scope": "variable.name.asm",
|
|
93
|
+
"settings": {
|
|
94
|
+
"foreground": "#001080"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"scope": "support.function.label.asm",
|
|
99
|
+
"settings": {
|
|
100
|
+
"foreground": "#795E26",
|
|
101
|
+
"fontStyle": "bold"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"scope": "entity.name.function.asm",
|
|
106
|
+
"settings": {
|
|
107
|
+
"foreground": "#795E26"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"scope": "entity.name.section.asm",
|
|
112
|
+
"settings": {
|
|
113
|
+
"foreground": "#267F99"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"scope": "entity.name.constant.asm",
|
|
118
|
+
"settings": {
|
|
119
|
+
"foreground": "#795E26"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"scope": "variable.language.asm",
|
|
124
|
+
"settings": {
|
|
125
|
+
"foreground": "#AF00DB",
|
|
126
|
+
"fontStyle": "italic"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"scope": "punctuation.separator.asm",
|
|
131
|
+
"settings": {
|
|
132
|
+
"foreground": "#808080"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"semanticHighlighting": true
|
|
137
|
+
}
|
package/changelog.md
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
## 1.4.0
|
|
2
|
+
- add **Find All References** (Shift+F12) — shows every usage of a label, variable, proc, or macro in the current file
|
|
3
|
+
- add **Rename Symbol** (F2) — renames all occurrences at once; guards against renaming keywords or registers
|
|
4
|
+
- add **Semantic Code Folding** — fold `proc`/`endp`, `%macro`/`%endmacro`, `struc`/`ends`, and `section` blocks with the standard VS Code fold gutter
|
|
5
|
+
|
|
6
|
+
## 1.3.4
|
|
7
|
+
- fix auto-indent: `section`, `global`, `extern` now de-indent automatically when typed on an indented line
|
|
8
|
+
- add `assembly.tabSize` setting — choose indent width 2/4/8 (default 8, classic assembly style); applied instantly without reload
|
|
9
|
+
|
|
10
|
+
## 1.3.3
|
|
11
|
+
- add semantic token highlighting for user-defined macro calls (instruction position)
|
|
12
|
+
- add semantic token highlighting for registers — distinct color in any VS Code theme
|
|
13
|
+
- fix syntax grammar scopes: %%labels, %1..%N params, %macro name, %define constants
|
|
14
|
+
- enable semanticHighlighting in all Assembly themes
|
|
15
|
+
- add semanticTokenColors in Assembly themes and semanticTokenScopes for built-in theme compatibility
|
|
16
|
+
|
|
17
|
+
## 1.3.2
|
|
18
|
+
- add macro hover shows argument count (e.g. "aver — 3 args [line 5]")
|
|
19
|
+
- add signature help for user-defined macros showing %1, %2, %3 with active parameter highlight
|
|
20
|
+
- add %1..%N completion suggestions when typing % inside a macro body
|
|
21
|
+
|
|
22
|
+
## 1.3.1
|
|
23
|
+
- add macro autocomplete in instruction position (user-defined macros appear alongside instructions)
|
|
24
|
+
- add operand suggestions (vars/registers/labels/imm) when typing macro arguments
|
|
25
|
+
- fix macro completion icon: was Color, now Function
|
|
26
|
+
- add editor defaults for assembly files: tabSize=8, insertSpaces=false
|
|
27
|
+
|
|
28
|
+
## 1.3.0
|
|
29
|
+
- add hover shows all valid operand forms per instruction (e.g. mov reg, reg / mov mem, reg)
|
|
30
|
+
- add diagnostic warning for invalid operand combinations (catches mem-to-mem mov [a],[b])
|
|
31
|
+
- add signature help shows all overload forms per instruction with active form tracking
|
|
32
|
+
- fix completion sort order: size keywords → variables → GP registers → extended → SIMD → constants
|
|
33
|
+
- fix signature help active parameter highlight (index pairs + correct dst/src labels)
|
|
34
|
+
- fix imul operand count — valid with 1, 2, or 3 operands
|
|
35
|
+
- update snippets to YASM/NASM syntax (%macro/%endmacro, %if/%endif, %rep/%endrep)
|
|
36
|
+
- add snippets: program skeleton, db/dw/dd/dq/str variable declarations, counted loop, Linux syscalls
|
|
37
|
+
|
|
38
|
+
## 1.2.2
|
|
39
|
+
- fix false "undefined label" warning for macro-local labels (%%label syntax)
|
|
40
|
+
- fix macro-local labels incorrectly flagged as duplicate labels
|
|
41
|
+
- fix imul false-positive operand count error — valid with 1, 2, or 3 operands
|
|
42
|
+
|
|
43
|
+
## 1.2.1
|
|
44
|
+
- fix false 'endp without proc' diagnostic — MASM proc format is 'name proc' not 'proc name'
|
|
45
|
+
- fix false 'endm without macro' diagnostic — same issue for TASM 'name macro' format
|
|
46
|
+
- fix macro hover showing object instead of name
|
|
47
|
+
- add macro support in Go to Definition (F12), Document Symbol outline, and hover line info
|
|
48
|
+
- fix extern detection matching words starting with 'extern' (e.g. external)
|
|
49
|
+
|
|
50
|
+
## 1.2.0
|
|
51
|
+
- add Go to Definition (F12) for labels, variables, and procedures
|
|
52
|
+
- add Document Symbol outline (Outline panel and breadcrumb navigation)
|
|
53
|
+
- add Signature Help — shows operand hints while typing instructions
|
|
54
|
+
- add settings to toggle each navigation feature individually
|
|
55
|
+
- fix space after completed operand showing unwanted autocomplete suggestions
|
|
56
|
+
- improve syntax highlighting — extended instruction and register coverage
|
|
57
|
+
- fix syntax scope names for registers, preprocessor directives, and sections
|
|
58
|
+
- add hex-suffix (1Fh) and binary (1010b) number highlighting
|
|
59
|
+
- refactor scanner and completion provider for readability
|
|
60
|
+
|
|
61
|
+
## 1.1.2
|
|
62
|
+
- fix memory leak on activation
|
|
63
|
+
- fix false positive "undefined" warnings for size keywords (QWORD, rel, near, far, short)
|
|
64
|
+
- fix macro hover showing undefined instead of macro name
|
|
65
|
+
- fix comment detection in hover provider
|
|
66
|
+
- fix extern symbols triggering false "undefined label" warnings
|
|
67
|
+
- add hover tooltip for variables
|
|
68
|
+
- add %define / %assign symbols to autocomplete suggestions
|
|
69
|
+
- add debounce on keystroke scan to prevent pile-up on fast typing
|
|
70
|
+
|
|
71
|
+
## 1.1.1
|
|
72
|
+
- fix autocomplete issue
|
|
73
|
+
|
|
74
|
+
## 1.1.0
|
|
75
|
+
- add advanced syntax grammar system
|
|
76
|
+
- improve syntax highlight structure using repository rules
|
|
77
|
+
- add bracket scope highlight for [], (), {}
|
|
78
|
+
- add auto closing bracket support
|
|
79
|
+
- fix language configuration path issue
|
|
80
|
+
- improve punctuation token detection
|
|
81
|
+
- improve directive highlight (.text .data .bss)
|
|
82
|
+
- improve register highlight coverage (xmm/ymm/zmm/debug/segment)
|
|
83
|
+
- add block comment support /* */
|
|
84
|
+
- improve string detection system
|
|
85
|
+
- prepare grammar structure for future memory expression parsing
|
|
86
|
+
|
|
87
|
+
## 1.0.6
|
|
88
|
+
- fix theme can useable
|
|
89
|
+
- adjust syntax hilight
|
|
90
|
+
|
|
91
|
+
## 1.0.5
|
|
92
|
+
- add code Diagnostic
|
|
93
|
+
- add compiler and Diagnostic for compiler
|
|
94
|
+
- can configure compiler
|
|
95
|
+
|
|
96
|
+
## 1.0.4
|
|
97
|
+
- fix word suggestion for smooter coding
|
|
98
|
+
- add 0x numberic declaretion
|
|
99
|
+
|
|
100
|
+
## 1.0.3
|
|
101
|
+
- Not use AutoSuggestion when TAB
|
|
102
|
+
- Adjust KEYWORD_DICTIONARY
|
|
103
|
+
|
|
104
|
+
## [1.0.2] - Custom YASM Smart Release
|
|
105
|
+
### Added
|
|
106
|
+
- Added support for `.s` and `.S` file extensions.
|
|
107
|
+
- Added intelligent trigger mechanism for Space (` `), Tab (`\t`), and Bracket (`[`).
|
|
108
|
+
- Added `mul`, `imul`, `div`, and `idiv` to the smart autocomplete instruction list.
|
|
109
|
+
- Added strict Bracket `[]` logic: Autocomplete now exclusively suggests Variables when typing inside brackets.
|
|
110
|
+
- Added Root-Level detection: `section` and `global` are now only suggested at the beginning of a line.
|
|
111
|
+
|
|
112
|
+
### Changed
|
|
113
|
+
- Shifted focus from TASM to YASM/NASM compiler conventions.
|
|
114
|
+
- Improved `.data` section logic: Autocomplete no longer interrupts variable naming. Suggestions (`db`, `dw`, `resb`, etc.) now appear smoothly after hitting Space or Tab.
|
|
115
|
+
- Improved `mov`, `add`, `sub` autocomplete to show specific sizes (`byte`, `word`, `dword`, `qword`) alongside variables and registers.
|
|
116
|
+
- Re-engineered the suggestion formatting to prevent auto-inserting unwanted brackets `[]` when selecting a variable.
|
|
117
|
+
|
|
118
|
+
### Fixed
|
|
119
|
+
- Fixed Syntax Highlighting mismatch where single-character variables and multi-character variables had different colors. All variables now share a consistent color.
|
|
120
|
+
- Fixed the annoying popup issue that occurred immediately after typing a comma (`,`).
|
|
121
|
+
- Cleaned up obsolete metadata from `package.json` to allow successful `.vsix` packaging.
|
|
122
|
+
|
|
123
|
+
## 1.0.1
|
|
124
|
+
- Removed case sensetvity
|
|
125
|
+
- Automatic case prefrence system
|
|
126
|
+
- Improved syntax highlighting
|
|
127
|
+
|
|
128
|
+
## 1.0.0
|
|
129
|
+
- IntelliSense autocomplete for TASM assembler
|
|
130
|
+
- Provides info about instructions
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"comments": {
|
|
3
|
+
"lineComment": ";",
|
|
4
|
+
"blockComment": ["/*", "*/"]
|
|
5
|
+
},
|
|
6
|
+
|
|
7
|
+
"brackets": [
|
|
8
|
+
["{", "}"],
|
|
9
|
+
["[", "]"],
|
|
10
|
+
["(", ")"],
|
|
11
|
+
["<", ">"]
|
|
12
|
+
],
|
|
13
|
+
|
|
14
|
+
"autoClosingPairs": [
|
|
15
|
+
["{", "}"],
|
|
16
|
+
["[", "]"],
|
|
17
|
+
["(", ")"],
|
|
18
|
+
["<", ">"],
|
|
19
|
+
["\"", "\""],
|
|
20
|
+
["'", "'"],
|
|
21
|
+
["`", "`"]
|
|
22
|
+
],
|
|
23
|
+
|
|
24
|
+
"surroundingPairs": [
|
|
25
|
+
["{", "}"],
|
|
26
|
+
["[", "]"],
|
|
27
|
+
["(", ")"],
|
|
28
|
+
["<", ">"],
|
|
29
|
+
["\"", "\""],
|
|
30
|
+
["'", "'"],
|
|
31
|
+
["`", "`"]
|
|
32
|
+
],
|
|
33
|
+
|
|
34
|
+
"autoCloseBefore": ";:.,=}])>` \n\t",
|
|
35
|
+
|
|
36
|
+
"folding": {
|
|
37
|
+
"markers": {
|
|
38
|
+
"start": "^\\s*;\\s*#?region\\b",
|
|
39
|
+
"end": "^\\s*;\\s*#?endregion\\b"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
|
|
43
|
+
"wordPattern": "[A-Za-z_.$?][\\w.$?]*",
|
|
44
|
+
|
|
45
|
+
"indentationRules": {
|
|
46
|
+
"increaseIndentPattern": "^\\s*(proc|macro|struc|section).*",
|
|
47
|
+
"decreaseIndentPattern": "^\\s*(endp|endm|ends|section|global|extern).*"
|
|
48
|
+
}
|
|
49
|
+
}
|
package/icon.png
ADDED
|
Binary file
|