File tree 5 files changed +70
-1
lines changed
5 files changed +70
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
6
6
7
+ ## [ Unreleased]
8
+
9
+ - Adds basic syntax highlighting for Verilog Filelists (dot-F files)
10
+
7
11
## [ 1.5.12] - 2022-12-04
8
12
9
13
- Fix hdl_checker support.
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Install it from [VS Code Marketplace](https://marketplace.visualstudio.com/items
21
21
- VHDL
22
22
- Vivado UCF constraints
23
23
- Synopsys Design Constraints
24
+ - Verilog Filelists (dot-F files)
24
25
- Simple Snippets
25
26
- Linting support from:
26
27
- Icarus Verilog - ` iverilog `
Original file line number Diff line number Diff line change
1
+ {
2
+ "comments" : {
3
+ "lineComment" : " //"
4
+ }
5
+ }
Original file line number Diff line number Diff line change 28
28
" onLanguage:vhdl" ,
29
29
" onLanguage:ucf" ,
30
30
" onLanguage:sdc" ,
31
- " onLanguage:xdc"
31
+ " onLanguage:xdc" ,
32
+ " onLanguage:verilog-filelist"
32
33
],
33
34
"main" : " ./dist/main.js" ,
34
35
"contributes" : {
115
116
" .xdc"
116
117
],
117
118
"configuration" : " ./configs/sdc.configuration.json"
119
+ },
120
+ {
121
+ "id" : " verilog-filelist" ,
122
+ "aliases" : [
123
+ " Verilog Filelist" ,
124
+ " verilog-filelist"
125
+ ],
126
+ "extensions" : [
127
+ " .f"
128
+ ],
129
+ "configuration" : " ./configs/verilog-filelist.configuration.json"
118
130
}
119
131
],
120
132
"grammars" : [
163
175
"meta.embedded.block.verilog" : " source.verilog" ,
164
176
"meta.embedded.block.systemverilog" : " source.systemverilog"
165
177
}
178
+ },
179
+ {
180
+ "language" : " verilog-filelist" ,
181
+ "scopeName" : " source.verilog-filelist" ,
182
+ "path" : " ./syntaxes/verilog-filelist.tmLanguage.json"
166
183
}
167
184
],
168
185
"snippets" : [
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json" ,
3
+ "fileTypes" : [
4
+ " f"
5
+ ],
6
+ "name" : " verilog-filelist" ,
7
+ "scopeName" : " source.verilog-filelist" ,
8
+ "patterns" : [
9
+ {
10
+ "match" : " ^\\ s*//.*$" ,
11
+ "name" : " comment.line"
12
+ },
13
+ {
14
+ "match" : " ^\\ s*#.*$" ,
15
+ "name" : " comment.line"
16
+ },
17
+ {
18
+ "match" : " ^\\ s*-f\\ s" ,
19
+ "name" : " keyword"
20
+ },
21
+ {
22
+ "match" : " ^\\ s*-F\\ s" ,
23
+ "name" : " keyword"
24
+ },
25
+ {
26
+ "match" : " \\ $\\ (\\ w*\\ )" ,
27
+ "name" : " variable"
28
+ },
29
+ {
30
+ "match" : " \\ $\\ {\\ w*\\ }" ,
31
+ "name" : " variable"
32
+ },
33
+ {
34
+ "match" : " \\ +incdir\\ +" ,
35
+ "name" : " entity.name.function"
36
+ },
37
+ {
38
+ "match" : " \\ +define\\ +" ,
39
+ "name" : " entity.name.function"
40
+ }
41
+ ]
42
+ }
You can’t perform that action at this time.
0 commit comments