This repository has been archived by the owner on Oct 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: Refactoring extension (total overhaul) (#374)
BREAKING CHANGE: This pull request does improve the performance but does also remove some of the features. To address all those memory problems, the parser needs some love. To get the extension working for now, auto importing and parsing of workspace files is removed from the extension. Right now, only code outline view and organize imports is available. In a later stage, other features can come back.
- Loading branch information
Showing
200 changed files
with
5,541 additions
and
2,421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
max_line_length = 125 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,80 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch Extension", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": [ | ||
"${workspaceRoot}/test/_workspace", | ||
"--extensionDevelopmentPath=${workspaceRoot}" | ||
], | ||
"env": { | ||
"EXT_DEBUG": "true" | ||
}, | ||
"stopOnEntry": false, | ||
"sourceMaps": true, | ||
"outFiles": [ | ||
"${workspaceRoot}/out/src/**/*.js" | ||
] | ||
}, | ||
{ | ||
"name": "Launch Extension Multi-Root", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": [ | ||
"${workspaceRoot}/test/multi-root.code-workspace", | ||
"--extensionDevelopmentPath=${workspaceRoot}" | ||
], | ||
"env": { | ||
"EXT_DEBUG": "true" | ||
}, | ||
"stopOnEntry": false, | ||
"sourceMaps": true, | ||
"outFiles": [ | ||
"${workspaceRoot}/out/src/**/*.js" | ||
] | ||
}, | ||
{ | ||
"name": "Launch Tests (single Workspace)", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": [ | ||
"${workspaceRoot}/test/_workspace", | ||
"--extensionDevelopmentPath=${workspaceRoot}", | ||
"--extensionTestsPath=${workspaceRoot}/out/test/single-workspace-tests/" | ||
], | ||
"env": { | ||
"CI": "true" | ||
}, | ||
"stopOnEntry": false, | ||
"sourceMaps": true, | ||
"outFiles": [ | ||
"${workspaceRoot}/out/test/single-workspace-tests/**/*.js" | ||
] | ||
}, | ||
{ | ||
"name": "Launch Tests (multi-root Workspace)", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": [ | ||
"${workspaceRoot}/test/multi-root.code-workspace", | ||
"--extensionDevelopmentPath=${workspaceRoot}", | ||
"--extensionTestsPath=${workspaceRoot}/out/test/multi-root-workspace-tests/" | ||
], | ||
"env": { | ||
"CI": "true" | ||
}, | ||
"stopOnEntry": false, | ||
"sourceMaps": true, | ||
"outFiles": [ | ||
"${workspaceRoot}/out/test/**/*.js" | ||
] | ||
} | ||
], | ||
"compounds": [] | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch Extension", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": [ | ||
"${workspaceRoot}/test/_workspace", | ||
"--extensionDevelopmentPath=${workspaceRoot}" | ||
], | ||
"env": { | ||
"EXT_DEBUG": "true" | ||
}, | ||
"stopOnEntry": false, | ||
"sourceMaps": true, | ||
"outFiles": [ | ||
"${workspaceRoot}/out/src/**/*.js" | ||
] | ||
}, | ||
{ | ||
"name": "Launch Extension Multi-Root", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": [ | ||
"${workspaceRoot}/test/multi-root.code-workspace", | ||
"--extensionDevelopmentPath=${workspaceRoot}" | ||
], | ||
"env": { | ||
"EXT_DEBUG": "true" | ||
}, | ||
"stopOnEntry": false, | ||
"sourceMaps": true, | ||
"outFiles": [ | ||
"${workspaceRoot}/out/src/**/*.js" | ||
] | ||
}, | ||
{ | ||
"name": "Launch Tests (single Workspace)", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": [ | ||
"${workspaceRoot}/test/_workspace", | ||
"--extensionDevelopmentPath=${workspaceRoot}", | ||
"--extensionTestsPath=${workspaceRoot}/out/test/single-workspace-tests/" | ||
], | ||
"env": { | ||
"CI": "true" | ||
}, | ||
"stopOnEntry": false, | ||
"sourceMaps": true, | ||
"outFiles": [ | ||
"${workspaceRoot}/out/test/single-workspace-tests/**/*.js" | ||
] | ||
}, | ||
{ | ||
"name": "Launch Tests (multi-root Workspace)", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": [ | ||
"${workspaceRoot}/test/multi-root.code-workspace", | ||
"--extensionDevelopmentPath=${workspaceRoot}", | ||
"--extensionTestsPath=${workspaceRoot}/out/test/multi-root-workspace-tests/" | ||
], | ||
"env": { | ||
"CI": "true" | ||
}, | ||
"stopOnEntry": false, | ||
"sourceMaps": true, | ||
"outFiles": [ | ||
"${workspaceRoot}/out/test/**/*.js" | ||
] | ||
} | ||
], | ||
"compounds": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.