Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge for 1.18.3 #11652

Closed
wants to merge 55 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
27cd52a
Replace use of yauzl with node-stream-zip (#11304)
Colengms Aug 18, 2023
89d0a7a
Enqueue the call to sendDidOpen (#11337)
fearthecowboy Aug 21, 2023
4525bd0
Fix crash called by missing IntelliSense loc strings. (#11339)
sean-mcmanus Aug 21, 2023
9e10a71
Update changelog and version for 1.17.4 (#11340)
sean-mcmanus Aug 21, 2023
ac118f4
Fix formatting for IntelliSense loc strings. (#11348)
sean-mcmanus Aug 22, 2023
3033657
Reset FAR UI if no results returned (#11359)
michelleangela Aug 24, 2023
78a8ff3
Disable AutoPCH early on platforms that don't support it (#11362)
Colengms Aug 25, 2023
c873aa1
1.17.5 changelog (#11363)
michelleangela Aug 25, 2023
f387815
Fix tag parse language status item UI (#11354)
michelleangela Aug 25, 2023
6efaafe
place markdownInComments setting under code doc (#11380)
browntarik Aug 29, 2023
628301b
Test restructuring and cleanup (#11262)
fearthecowboy Aug 29, 2023
f3e0f0b
Added enforcement. (#11381)
mastrzyz Aug 29, 2023
76fce67
Added typing guards. (#11382)
mastrzyz Aug 30, 2023
0cd369c
Incremental. (#11383)
mastrzyz Aug 30, 2023
44e2a0e
added enforcement of no array constructor. (#11385)
mastrzyz Aug 30, 2023
d949d93
Apply strict eslint rule (#11389)
fearthecowboy Aug 31, 2023
4199155
Update TPN. (#11393)
sean-mcmanus Aug 31, 2023
efa5c22
Rework Database Storage Path Logic (#11309)
browntarik Sep 5, 2023
b4a70df
Make `yarn` tasks imply `yarn install` where appropriate (#11394)
fearthecowboy Sep 6, 2023
6a54986
Bump mongodb from 4.8.1 to 4.17.0 in /.github/actions (#11413)
dependabot[bot] Sep 7, 2023
121a657
make translations export work correctly in CI (#11415)
fearthecowboy Sep 8, 2023
2cc55ea
Add keyboard support for Inline Macro. (#11261)
sean-mcmanus Sep 11, 2023
2715319
Compiler acquisition (#11286)
bobbrow Sep 13, 2023
c5c64ad
Update localized intellisense crash string (#11356)
browntarik Sep 13, 2023
dec5059
Remove obsolete experimental configuration code (#11427)
michelleangela Sep 15, 2023
4d1a2a0
Change how logging level is passed to native process (#11438)
Colengms Sep 18, 2023
b98bb40
Update language server loc strings (#11445)
michelleangela Sep 26, 2023
eec372a
force module to node16 for ts-node (#11468)
fearthecowboy Sep 26, 2023
f62cad6
Fix Initializing in the status bar instead of Indexing. (#11471)
sean-mcmanus Sep 26, 2023
1bde544
Add Include Header setting for refactoring actions (#11449)
michelleangela Sep 27, 2023
68c7be9
Fix loading UI (#11486)
michelleangela Sep 29, 2023
847ea0b
Fix prepublish. (#11469)
sean-mcmanus Sep 30, 2023
cd8ecf9
Handle undefined environment variable (#11480)
michelleangela Oct 6, 2023
51d88db
Increase timeout for E2E tests (#11516)
michelleangela Oct 9, 2023
6da9a49
Updates for clang-tidy 17.0.1 (#11491)
sean-mcmanus Oct 10, 2023
7e4ee25
remove CreateDeclDefnCommandArguments (#11517)
michelleangela Oct 10, 2023
4af6ca9
Extract to function (#11467)
sean-mcmanus Oct 12, 2023
74bddb8
Reuse workflow for CI builds (#11503)
michelleangela Oct 12, 2023
7273d61
Update changelog for 1.18.0 (#11521)
sean-mcmanus Oct 12, 2023
62a03c2
Update changelog (2nd time) (#11527)
sean-mcmanus Oct 13, 2023
fecfc08
update changelog (#11532)
bobbrow Oct 16, 2023
8fbc56a
Notify users if there's a pre-release version available. (#11569)
spebl Oct 24, 2023
6f80226
Update walkthrough text for the customize debugging step. (#11580)
spebl Oct 25, 2023
45addfd
Add Missing Include Code Action (#11488)
browntarik Oct 27, 2023
16f6cf9
Change Extract to Function to name earlier. (#11568)
sean-mcmanus Oct 31, 2023
e7f5d17
Fix formatting bug with multiple changes. (#11599)
sean-mcmanus Nov 1, 2023
a20a3f2
Update changelog for 1.18.1 (#11604)
sean-mcmanus Nov 1, 2023
c26054a
Update version (#11606)
sean-mcmanus Nov 1, 2023
6d5e4c4
Fix 'Extract to function' switching to the header. (#11616)
sean-mcmanus Nov 3, 2023
5b3c4c7
Add error catching on await calls and a persistent bool tracking if t…
spebl Nov 3, 2023
6b5d3ee
Fix 'Extract to function' formatting/selection bugs. (#11621)
sean-mcmanus Nov 6, 2023
6ec1d81
[Auto] Localization - Translated Strings (#11290)
csigs Nov 7, 2023
468149a
Update changelog/version for 1.18.2 (#11628)
sean-mcmanus Nov 7, 2023
7d05139
Remove the 'Extract to function' experimentalFeatures requirement. (#…
sean-mcmanus Nov 8, 2023
5504bdf
Update changelog for 1.18.3 (#11648)
sean-mcmanus Nov 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9,814 changes: 6,488 additions & 3,326 deletions .github/actions/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"mocha": "^10.0.0",
"mongodb": "^4.8.1",
"mongodb": "^4.17.0",
"nock": "^13.2.9",
"prettier": "2.7.1",
"ts-node": "^10.9.1",
Expand Down
61 changes: 14 additions & 47 deletions .github/workflows/ci_linux.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,14 @@
name: CI (Linux)

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install Dependencies
run: yarn install
working-directory: Extension

- name: Compile Sources
run: yarn run compile
working-directory: Extension

- name: Run Linter
run: yarn run lint
working-directory: Extension

- name: Compile Test Sources
run: yarn run pretest
working-directory: Extension

- name: Run unit tests
uses: GabrielBB/[email protected]
with:
run: yarn run unitTests
working-directory: Extension

# - name: Run languageServer integration tests
# uses: GabrielBB/[email protected]
# with:
# run: yarn run integrationTests
# working-directory: Extension
name: CI (Linux)

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
job:
uses: ./.github/workflows/job-compile-and-test.yml
with:
runner-env: ubuntu-22.04
platform: linux
62 changes: 15 additions & 47 deletions .github/workflows/ci_mac.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,15 @@
name: CI (Mac)

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3

- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install Dependencies
run: yarn install --network-timeout 100000
working-directory: Extension

- name: Compile Sources
run: yarn run compile
working-directory: Extension

- name: Run Linter
run: yarn run lint
working-directory: Extension

- name: Compile Test Sources
run: yarn run pretest
working-directory: Extension

- name: Run unit tests
uses: GabrielBB/[email protected]
with:
run: yarn run unitTests
working-directory: Extension

# - name: Run languageServer integration tests
# uses: GabrielBB/[email protected]
# with:
# run: yarn run integrationTests
# working-directory: Extension
name: CI (Mac)

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
job:
uses: ./.github/workflows/job-compile-and-test.yml
with:
runner-env: macos-12
platform: mac
yarn-args: --network-timeout 100000
57 changes: 14 additions & 43 deletions .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,14 @@
name: CI (Windows)

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install Dependencies
run: yarn install
working-directory: Extension

- name: Compile Sources
run: yarn run compile
working-directory: Extension

- name: Run Linter
run: yarn run lint
working-directory: Extension

- name: Compile Test Sources
run: yarn run pretest
working-directory: Extension

- name: Run unit tests
run: yarn run unitTests
working-directory: Extension

# - name: Run languageServer integration tests
# run: yarn run integrationTests
# working-directory: Extension
name: CI (Windows)

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
job:
uses: ./.github/workflows/job-compile-and-test.yml
with:
runner-env: windows-2022
platform: windows
73 changes: 73 additions & 0 deletions .github/workflows/job-compile-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Reuable workflow for compiling and testing extension.
name: Compile and test extension

on:
workflow_call:
inputs:
runner-env:
required: true
type: string
platform:
# Expects 'mac', 'linux', or 'windows'
required: true
type: string
yarn-args:
type: string

jobs:
build:
runs-on: ${{ inputs.runner-env }}

steps:
- uses: actions/checkout@v3

- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install Dependencies
run: yarn install ${{ inputs.yarn-args }}
working-directory: Extension

- name: Compile Sources
run: yarn run compile
working-directory: Extension

- name: Run Linter
run: yarn run lint
working-directory: Extension

- name: Run unit tests
run: yarn test
working-directory: Extension

# NOTE : We can't run the test that require the native binary files
# yet -- there will be an update soon that allows the tester to
# acquire them on-the-fly
# - name: Run languageServer integration tests
# if: ${{ inputs.platform == 'windows' }}
# run: yarn test --scenario=SingleRootProject
# working-directory: Extension

# - name: Run E2E IntelliSense features tests
# if: ${{ inputs.platform == 'windows' }}
# run: yarn test --scenario=MultirootDeadlockTest
# working-directory: Extension

# NOTE: For mac/linux run the tests with xvfb-action for UI support.
# Another way to start xvfb https://github.com/microsoft/vscode-test/blob/master/sample/azure-pipelines.yml

# - name: Run languageServer integration tests (xvfb)
# if: ${{ inputs.platform == 'mac' || inputs.platform == 'linux' }}
# uses: coactions/setup-xvfb@v1
# with:
# run: yarn test --scenario=SingleRootProject
# working-directory: Extension

# - name: Run E2E IntelliSense features tests (xvfb)
# if: ${{ inputs.platform == 'mac' || inputs.platform == 'linux' }}
# uses: coactions/setup-xvfb@v1
# with:
# run: yarn test --scenario=MultirootDeadlockTest
# working-directory: Extension
5 changes: 2 additions & 3 deletions Extension/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
*.js
test/**/index.ts
test/**/runTest.ts
tools/prepublish.js

dist/
vscode*.d.ts
16 changes: 13 additions & 3 deletions Extension/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended"
//"plugin:@typescript-eslint/strict", // I want to enable this. Lots of little changes will happen.
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/strict",
],
"env": {
"browser": true,
Expand All @@ -11,7 +11,7 @@ module.exports = {
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"project": ["tsconfig.json", ".scripts/tsconfig.json"],
"ecmaVersion": 2022,
"sourceType": "module",
"warnOnUnsupportedTypeScriptVersion": false,
Expand Down Expand Up @@ -59,11 +59,17 @@ module.exports = {
}
}
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-extraneous-class": "off",
"no-case-declarations": "off",
"no-useless-escape": "off",
"no-floating-decimal": "error",
"keyword-spacing": ["error", { "before": true, "overrides": { "this": { "before": false } } }],
"arrow-spacing": ["error", { "before": true, "after": true }],
"semi-spacing": ["error", { "before": false, "after": true }],
"no-extra-parens": ["error", "all", { "nestedBinaryExpressions": false, "ternaryOperandBinaryExpressions": false }],
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-useless-constructor": "error",
"@typescript-eslint/no-for-in-array": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-misused-promises": "error",
Expand All @@ -82,6 +88,7 @@ module.exports = {
"@typescript-eslint/unified-signatures": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/method-signature-style": ["error", "method"],
"@typescript-eslint/space-infix-ops": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
Expand Down Expand Up @@ -110,16 +117,19 @@ module.exports = {
"no-fallthrough": "error",
"no-invalid-this": "error",
"no-irregular-whitespace": "error",
"rest-spread-spacing": ["error", "never"],
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1, "maxBOF": 0 }],
"no-new-wrappers": "error",
"no-return-await": "error",
"no-sequences": "error",
"no-sparse-arrays": "error",
"no-trailing-spaces": "error",
"no-multi-spaces": "error",
"no-undef-init": "error",
"no-unsafe-finally": "error",
"no-unused-expressions": "error",
"no-unused-labels": "error",
"space-before-blocks": "error",
"no-var": "error",
"one-var": [
"error",
Expand Down
1 change: 1 addition & 0 deletions Extension/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ localized_string_ids.h
src/nativeStrings.ts

vscode*.d.ts
.scripts/_*
Loading