Skip to content

Commit 0616140

Browse files
authored
feat: API 59.0 update (#16)
add new namespaces for API 59.0 refactor: rebuild most regex for speed Some code taken from official Apex language definition file feat(SOQL): sub-scope SOQL queries for supported styles The use of the "soql" class allows styles to highlight queries differently style: Monokai-Sublime-Apex theme has been revised Fixes #23
1 parent e71c1b9 commit 0616140

18 files changed

+2092
-1820
lines changed

.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ typings/
106106
# OSX file
107107
.DS_Store
108108

109-
# no idea why sfdx is in this repo, but excluding those folders
109+
# SFDX CLI
110+
.sf
110111
.sfdx
111-
.sf
112+
113+
#PMD file
114+
.pmdCache
115+
116+
demo/scratchpad.*

.npmignore

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
assets
2-
demo
3-
.github
4-
.vscode
5-
node_modules,
6-
.release-please-manifest.json
7-
release-please-config.json
1+
*
2+
3+
!dist/**/*
4+
!package.json
5+
!src/**/*
6+
!test/**/*

.prettierignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,9 @@
44

55
node_modules
66
.localdevserver
7-
.vscode
7+
.vscode
8+
9+
*.txt
10+
11+
test/index.js
12+
*.png

.prettierrc

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,30 @@
11
{
22
"trailingComma": "none",
33
"useTabs": true,
4-
"printWidth": 120,
54
"bracketSameLine": true,
65
"bracketSpacing": true,
76
"tabWidth": 2,
87
"singleQuote": true,
98
"overrides": [
9+
{
10+
"files": ".prettierrc",
11+
"options": { "parser": "json", "printWidth": 80 }
12+
},
1013
{
1114
"files": "**/*.js",
12-
"options": { "useTabs": false, "printWidth": 80 }
15+
"options": { "parser": "babel", "useTabs": false, "printWidth": 80 }
16+
},
17+
{
18+
"files": "doc*/**/*.html",
19+
"options": {
20+
"parser": "html",
21+
"useTabs": true,
22+
"tabWidth": 2,
23+
"printWidth": 150,
24+
"htmlWhitespaceSensitivity": "ignore",
25+
"singleQuote": false
26+
}
1327
}
14-
]
28+
],
29+
"$schema": "https://json.schemastore.org/prettierrc"
1530
}

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"apexPMD.enableCache": false
2+
"apexPMD.enableCache": false,
3+
"[css]": {
4+
"editor.formatOnSave": false
5+
}
36
}

demo/testcode.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
@import url('https://fonts.googleapis.com/css?family=Barlow:400,400i|Nanum+Gothic&display=swap');
2+
3+
:root {
4+
--grey-blue-tx: #51638a;
5+
--grey-blue-bg: #547499;
6+
--light-grey: #f7f7f7;
7+
--dark-grey: #c6c6c6;
8+
--white: #fff;
9+
--dark-red: #a31515;
10+
--title-font: 'Nanum Gothic';
11+
--code-font: monospace;
12+
}
13+
14+
body {
15+
font-family: 'Barlow', sans-serif;
16+
margin: 0px;
17+
padding: 0px;
18+
}
19+
20+
pre code {
21+
white-space: pre-wrap;
22+
font-size: 120%;
23+
24+
}

0 commit comments

Comments
 (0)