Skip to content

Commit 5af5bb9

Browse files
committed
Merge branch 'feature/formatting' into feature/path-interpolation-simple
1 parent 37abd9b commit 5af5bb9

File tree

14 files changed

+6813
-2937
lines changed

14 files changed

+6813
-2937
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Code sample**
21+
If applicable, provide the code that caused the extension to break.
22+
23+
**Expected behavior**
24+
A clear and concise description of what you expected to happen.
25+
26+
**Screenshots**
27+
If applicable, add screenshots to help explain your problem.
28+
29+
**Build info (please complete the following information):**
30+
31+
- OS: [e.g. Linux x64]
32+
- Extension Version [e.g. 2.4.0]
33+
- Visual Studio Code Version [e.g. 1.62.0]
34+
35+
**Additional context**
36+
Add any other context about the problem here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: feature-request
6+
assignees: ''
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Describe the solution you'd like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe alternatives you've considered**
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Additional context**
19+
Add any other context or screenshots about the feature request here.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Syntax highlighting
3+
about: Create a bug report for erroneous syntax highlighting
4+
title: ''
5+
labels: syntax-highlight
6+
assignees: ''
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**Screenshots**
13+
Add screenshots to help explain your problem.
14+
15+
**Code sample**
16+
Provide the code that caused the extension to break.
17+
See Wikipedia for how to write a [Minimal Working Example](https://en.wikipedia.org/wiki/Minimal_working_example)
18+
19+
**To Reproduce**
20+
If applicable, steps to reproduce the behavior
21+
22+
**Expected behavior**
23+
A clear and concise description of what you expected to happen.
24+
25+
**Fortran Form**
26+
Free form (F90+) or Fixed Form (F77)
27+
28+
**Build info (please complete the following information):**
29+
30+
- OS: [e.g. Linux x64]
31+
- Extension Version [e.g. 2.4.0]
32+
- Visual Studio Code Version [e.g. 1.62.0]
33+
34+
**Additional context**
35+
Add any other context about the problem here.

.github/dependabot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "npm" # See documentation for possible values
9-
directory: "/" # Location of package manifests
8+
- package-ecosystem: 'npm' # See documentation for possible values
9+
directory: '/' # Location of package manifests
1010
schedule:
11-
interval: "weekly"
11+
interval: 'weekly'
1212
assignees:
13-
- "gnikit"
13+
- 'gnikit'
1414
reviewers:
15-
- "gnikit"
15+
- 'gnikit'
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: 'CodeQL'
13+
14+
on:
15+
push:
16+
branches: [master]
17+
pull_request:
18+
# The branches below must be a subset of the branches above
19+
branches: [master]
20+
schedule:
21+
- cron: '31 20 * * 0'
22+
23+
jobs:
24+
analyze:
25+
name: Analyze
26+
runs-on: ubuntu-latest
27+
permissions:
28+
actions: read
29+
contents: read
30+
security-events: write
31+
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
language: ['javascript']
36+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37+
# Learn more about CodeQL language support at https://git.io/codeql-language-support
38+
39+
steps:
40+
- name: Checkout repository
41+
uses: actions/checkout@v2
42+
43+
# Initializes the CodeQL tools for scanning.
44+
- name: Initialize CodeQL
45+
uses: github/codeql-action/init@v1
46+
with:
47+
languages: ${{ matrix.language }}
48+
# If you wish to specify custom queries, you can do so here or in a config file.
49+
# By default, queries listed here will override any specified in a config file.
50+
# Prefix the list here with "+" to use these queries and those in the config file.
51+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
52+
53+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54+
# If this step fails, then you should remove it and run the build manually (see below)
55+
- name: Autobuild
56+
uses: github/codeql-action/autobuild@v1
57+
58+
# ℹ️ Command-line programs to run using the OS shell.
59+
# 📚 https://git.io/JvXDl
60+
61+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62+
# and modify them (or add more) to build your code if your project
63+
# uses a compiled language
64+
65+
#- run: |
66+
# make bootstrap
67+
# make release
68+
69+
- name: Perform CodeQL Analysis
70+
uses: github/codeql-action/analyze@v1

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,9 @@ node_modules
33
.vscode-test
44
*.vsix
55
.DS_Store
6-
coverage
6+
coverage
7+
8+
# Fortran files
9+
*.o
10+
*.mod
11+
*.smod

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run pre-commit

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# .prettierignore
22

33
node_modules
4+
.vscode-test
45
dist
56
out

.vscode/launch.json

Lines changed: 27 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,28 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
6-
"configurations": [
7-
{
8-
"name": "Launch Extension",
9-
"type": "extensionHost",
10-
"request": "launch",
11-
"args": [
12-
"--extensionDevelopmentPath=${workspaceFolder}"
13-
],
14-
"outFiles": [
15-
"${workspaceFolder}/out/src/**/*.js"
16-
],
17-
"preLaunchTask": "npm: watch-dev",
18-
},
19-
{
20-
"name": "Launch Tests",
21-
"type": "extensionHost",
22-
"request": "launch",
23-
"runtimeExecutable": "${execPath}",
24-
"args": [
25-
"--extensionDevelopmentPath=${workspaceFolder}",
26-
"--extensionTestsPath=${workspaceFolder}/out/test"
27-
],
28-
"outFiles": [
29-
"${workspaceFolder}/out/test/**/*.js"
30-
],
31-
"preLaunchTask": "npm: pretest setup",
32-
},
33-
]
34-
}
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Launch Extension",
9+
"type": "extensionHost",
10+
"request": "launch",
11+
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
12+
"outFiles": ["${workspaceFolder}/out/src/**/*.js"],
13+
"preLaunchTask": "npm: watch-dev"
14+
},
15+
{
16+
"name": "Launch Tests",
17+
"type": "extensionHost",
18+
"request": "launch",
19+
"runtimeExecutable": "${execPath}",
20+
"args": [
21+
"--extensionDevelopmentPath=${workspaceFolder}",
22+
"--extensionTestsPath=${workspaceFolder}/out/test"
23+
],
24+
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
25+
"preLaunchTask": "npm: pretest setup"
26+
}
27+
]
28+
}

.vscode/tasks.json

Lines changed: 50 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,51 @@
11
{
2-
"version": "2.0.0",
3-
"tasks": [
4-
{
5-
"label": "npm: watch-dev",
6-
"type": "npm",
7-
"script": "watch-dev",
8-
"group": {
9-
"kind": "build",
10-
"isDefault": true
11-
},
12-
"isBackground": true,
13-
"problemMatcher": "$tsc-watch",
14-
"detail": "tsc -watch -p tsconfig.json"
15-
},
16-
{
17-
"label": "npm: compile-dev",
18-
"type": "npm",
19-
"script": "compile-dev",
20-
"group": "build",
21-
"problemMatcher": "$tsc",
22-
"detail": "tsc -p tsconfig.json"
23-
},
24-
{
25-
"label": "npm: pretest",
26-
"type": "npm",
27-
"script": "pretest",
28-
"group": "test",
29-
"problemMatcher": "$tsc",
30-
"detail": "tsc -p tsconfig.test.json"
31-
},
32-
{
33-
"label": "npm: pretest setup",
34-
"type": "shell",
35-
"dependsOn": [
36-
"npm: compile-dev",
37-
"npm: pretest"
38-
],
39-
"dependsOrder": "sequence",
40-
"group": {
41-
"kind": "test",
42-
"isDefault": true
43-
},
44-
"detail": "setup for test launch"
45-
},
46-
{
47-
"type": "npm",
48-
"script": "lint",
49-
"problemMatcher": "$eslint-stylish",
50-
"label": "npm: lint",
51-
"detail": "eslint . --ext .ts,.tsx"
52-
}
53-
]
54-
}
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "npm: watch-dev",
6+
"type": "npm",
7+
"script": "watch-dev",
8+
"group": {
9+
"kind": "build",
10+
"isDefault": true
11+
},
12+
"isBackground": true,
13+
"problemMatcher": "$tsc-watch",
14+
"detail": "tsc -watch -p tsconfig.json"
15+
},
16+
{
17+
"label": "npm: compile-dev",
18+
"type": "npm",
19+
"script": "compile-dev",
20+
"group": "build",
21+
"problemMatcher": "$tsc",
22+
"detail": "tsc -p tsconfig.json"
23+
},
24+
{
25+
"label": "npm: pretest",
26+
"type": "npm",
27+
"script": "pretest",
28+
"group": "test",
29+
"problemMatcher": "$tsc",
30+
"detail": "tsc -p tsconfig.test.json"
31+
},
32+
{
33+
"label": "npm: pretest setup",
34+
"type": "shell",
35+
"dependsOn": ["npm: compile-dev", "npm: pretest"],
36+
"dependsOrder": "sequence",
37+
"group": {
38+
"kind": "test",
39+
"isDefault": true
40+
},
41+
"detail": "setup for test launch"
42+
},
43+
{
44+
"type": "npm",
45+
"script": "lint",
46+
"problemMatcher": "$eslint-stylish",
47+
"label": "npm: lint",
48+
"detail": "eslint . --ext .ts,.tsx"
49+
}
50+
]
51+
}

0 commit comments

Comments
 (0)