Browse Source

Added website

master
ss.pedroisac 5 years ago
parent
commit
812b143b6c
230 changed files with 14711 additions and 7234 deletions
  1. +10
    -1
      User/settings.json
  2. +1
    -1
      User/state/24ce6c0.json
  3. +1
    -1
      User/state/global.json
  4. +36
    -0
      User/syncLocalSettings.json
  5. +7
    -1
      config/_development.json
  6. BIN
      dbs/social.mv.db
  7. +18
    -0
      dbs/social.trace.db
  8. +1
    -1
      extensions/.obsolete
  9. +40
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/.vsixmanifest
  10. +275
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/CHANGELOG.md
  11. +21
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/LICENSE.md
  12. +78
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/README.md
  13. BIN
      extensions/coenraads.bracket-pair-colorizer-1.0.20/images/activeScopeBackground.png
  14. BIN
      extensions/coenraads.bracket-pair-colorizer-1.0.20/images/activeScopeBorder.png
  15. BIN
      extensions/coenraads.bracket-pair-colorizer-1.0.20/images/consecutiveExample.png
  16. BIN
      extensions/coenraads.bracket-pair-colorizer-1.0.20/images/example.png
  17. BIN
      extensions/coenraads.bracket-pair-colorizer-1.0.20/images/forceIterationColorCycleEnabled.png
  18. BIN
      extensions/coenraads.bracket-pair-colorizer-1.0.20/images/forceUniqueOpeningColorDisabled.png
  19. BIN
      extensions/coenraads.bracket-pair-colorizer-1.0.20/images/forceUniqueOpeningColorEnabled.png
  20. BIN
      extensions/coenraads.bracket-pair-colorizer-1.0.20/images/icon.png
  21. +109
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/images/icon.svg
  22. BIN
      extensions/coenraads.bracket-pair-colorizer-1.0.20/images/independentExample.png
  23. +4
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/IColorIndexes.js
  24. +11
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/bracket.js
  25. +12
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/bracketPair.js
  26. +9
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/colorMode.js
  27. +284
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/documentDecoration.js
  28. +118
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/documentDecorationManager.js
  29. +34
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/extension.js
  30. +10
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/foundBracket.js
  31. +131
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/languages.js
  32. +70
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/lineState.js
  33. +49
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/match.js
  34. +17
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/modifierPair.js
  35. +74
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/multipleIndexes.js
  36. +143
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/prismJsLanguages.js
  37. +14
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/scope.js
  38. +14
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/scopeCharacter.js
  39. +10
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/scopePattern.js
  40. +166
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/settings.js
  41. +53
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/singularIndex.js
  42. +58
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/textLine.js
  43. +11
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/tokenIndex.js
  44. +163
    -0
      extensions/coenraads.bracket-pair-colorizer-1.0.20/package.json
  45. +6
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/.editorconfig
  46. +20
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/.github/ISSUE_TEMPLATE/bug_report.md
  47. +3
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/.prettierrc
  48. +32
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/.vsixmanifest
  49. +190
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/CHANGELOG.md
  50. +21
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/LICENSE
  51. +87
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/README.md
  52. BIN
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/assets/icon.png
  53. +47
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/language-configuration.json
  54. +69
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/package.json
  55. +173
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/snippets/snippets.json
  56. +33
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/syntaxes/ejs-nested.json
  57. +167
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/syntaxes/ejs.json
  58. +597
    -0
      extensions/digitalbrainstem.javascript-ejs-support-1.3.1/yarn.lock
  59. +1
    -0
      extensions/esbenp.prettier-vscode-6.3.2/.husky/.gitignore
  60. +4
    -0
      extensions/esbenp.prettier-vscode-6.3.2/.husky/pre-commit
  61. +1
    -0
      extensions/esbenp.prettier-vscode-6.3.2/.nvmrc
  62. +44
    -0
      extensions/esbenp.prettier-vscode-6.3.2/.vsixmanifest
  63. +471
    -0
      extensions/esbenp.prettier-vscode-6.3.2/CHANGELOG.md
  64. +21
    -0
      extensions/esbenp.prettier-vscode-6.3.2/LICENSE.txt
  65. +309
    -0
      extensions/esbenp.prettier-vscode-6.3.2/README.md
  66. +24
    -0
      extensions/esbenp.prettier-vscode-6.3.2/THIRDPARTY.md
  67. +2
    -0
      extensions/esbenp.prettier-vscode-6.3.2/dist/extension.js
  68. +1
    -0
      extensions/esbenp.prettier-vscode-6.3.2/dist/extension.js.map
  69. BIN
      extensions/esbenp.prettier-vscode-6.3.2/icon.png
  70. +9
    -0
      extensions/esbenp.prettier-vscode-6.3.2/package-json-schema.json
  71. +410
    -0
      extensions/esbenp.prettier-vscode-6.3.2/package.json
  72. +40
    -0
      extensions/esbenp.prettier-vscode-6.3.2/package.nls.json
  73. +21
    -0
      extensions/esbenp.prettier-vscode-6.3.2/package.nls.zh-cn.json
  74. +21
    -0
      extensions/esbenp.prettier-vscode-6.3.2/package.nls.zh-tw.json
  75. +42
    -0
      extensions/ritwickdey.liveserver-5.6.1/.vsixmanifest
  76. +54
    -0
      extensions/ritwickdey.liveserver-5.6.1/CHANGELOG.md
  77. +21
    -0
      extensions/ritwickdey.liveserver-5.6.1/LICENSE.txt
  78. +100
    -0
      extensions/ritwickdey.liveserver-5.6.1/README.md
  79. BIN
      extensions/ritwickdey.liveserver-5.6.1/images/icon.png
  80. +91
    -0
      extensions/ritwickdey.liveserver-5.6.1/out/src/Config.js
  81. +129
    -0
      extensions/ritwickdey.liveserver-5.6.1/out/src/Helper.js
  82. +3
    -0
      extensions/ritwickdey.liveserver-5.6.1/out/src/IAppModel.js
  83. +36
    -0
      extensions/ritwickdey.liveserver-5.6.1/out/src/LiveServerHelper.js
  84. +75
    -0
      extensions/ritwickdey.liveserver-5.6.1/out/src/LiveShareHelper.js
  85. +42
    -0
      extensions/ritwickdey.liveserver-5.6.1/out/src/StatusbarUi.js
  86. +34
    -0
      extensions/ritwickdey.liveserver-5.6.1/out/src/announcement/index.js
  87. +268
    -0
      extensions/ritwickdey.liveserver-5.6.1/out/src/appModel.js
  88. +44
    -0
      extensions/ritwickdey.liveserver-5.6.1/out/src/extension.js
  89. +52
    -0
      extensions/ritwickdey.liveserver-5.6.1/out/src/workspaceResolver.js
  90. +360
    -0
      extensions/ritwickdey.liveserver-5.6.1/package.json
  91. +42
    -0
      extensions/shan.code-settings-sync-3.4.3/.vsixmanifest
  92. +143
    -0
      extensions/shan.code-settings-sync-3.4.3/CHANGELOG.md
  93. +22
    -0
      extensions/shan.code-settings-sync-3.4.3/LICENSE.txt
  94. +316
    -0
      extensions/shan.code-settings-sync-3.4.3/README.md
  95. +45
    -0
      extensions/shan.code-settings-sync-3.4.3/configs/webpack.config.js
  96. +9
    -0
      extensions/shan.code-settings-sync-3.4.3/configs/webpack.development.config.js
  97. +11
    -0
      extensions/shan.code-settings-sync-3.4.3/configs/webpack.production.config.js
  98. BIN
      extensions/shan.code-settings-sync-3.4.3/images/existing-gist.png
  99. BIN
      extensions/shan.code-settings-sync-3.4.3/images/login-with-github.png
  100. BIN
      extensions/shan.code-settings-sync-3.4.3/images/logo-128.png

+ 10
- 1
User/settings.json View File

@ -1,4 +1,13 @@
{
"workbench.colorTheme": "Default Dark+",
"workbench.iconTheme": "material-icon-theme"
"workbench.iconTheme": "material-icon-theme",
"sync.gist": "c9b804d3863647dfd46be8dd3c36bc65",
"sync.autoDownload": true,
"sync.forceDownload": true,
"sync.quietSync": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
}

+ 1
- 1
User/state/24ce6c0.json
File diff suppressed because it is too large
View File


+ 1
- 1
User/state/global.json
File diff suppressed because it is too large
View File


+ 36
- 0
User/syncLocalSettings.json View File

@ -0,0 +1,36 @@
{
"ignoreUploadFiles": [
"state.*",
"syncLocalSettings.json",
".DS_Store",
"sync.lock",
"projects.json",
"projects_cache_vscode.json",
"projects_cache_git.json",
"projects_cache_svn.json",
"gpm_projects.json",
"gpm-recentItems.json"
],
"ignoreUploadFolders": [
"workspaceStorage"
],
"ignoreExtensions": [],
"gistDescription": "Visual Studio Code Settings Sync Gist",
"version": 343,
"token": "",
"downloadPublicGist": true,
"supportedFileExtensions": [
"json",
"code-snippets"
],
"openTokenLink": true,
"disableUpdateMessage": false,
"lastUpload": null,
"lastDownload": null,
"githubEnterpriseUrl": null,
"askGistDescription": false,
"customFiles": {},
"hostName": null,
"universalKeybindings": false,
"autoUploadDelay": 20
}

+ 7
- 1
config/_development.json View File

@ -32,5 +32,11 @@
"host": "",
"name": "social",
"username": ""
}}
}},
"cors": [
{
"enabled": true,
"origins": [ "http://pedro-isac.dev.netuno.org:30730", "http://localhost:3000", "http://127.0.0.1:3000" ]
}
]
}

BIN
dbs/social.mv.db View File


+ 18
- 0
dbs/social.trace.db View File

@ -3029,3 +3029,21 @@ DESCRIBE cidade [42001-198]
2021-04-05 12:19:16 jdbc[3]: exception
org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL statement "DESCRIBE[*] cidade"; expected "DELETE, DROP, DECLARE, DEALLOCATE"; SQL statement:
DESCRIBE cidade [42001-198]
2021-04-05 22:37:33 jdbc[3]: exception
org.h2.jdbc.JdbcSQLDataException: Data conversion error converting "social-netuno"; SQL statement:
select * from netuno_app where uid = 'social-netuno' [22018-198]
2021-04-07 12:09:32 jdbc[3]: exception
org.h2.jdbc.JdbcSQLDataException: Data conversion error converting "social-netuno"; SQL statement:
select * from netuno_app where uid = 'social-netuno' [22018-198]
2021-04-07 13:44:42 jdbc[3]: exception
org.h2.jdbc.JdbcSQLDataException: Data conversion error converting "social-netuno"; SQL statement:
select * from netuno_app where uid = 'social-netuno' [22018-198]
2021-04-07 15:16:53 jdbc[3]: exception
org.h2.jdbc.JdbcSQLDataException: Data conversion error converting "social-netuno"; SQL statement:
select * from netuno_app where uid = 'social-netuno' [22018-198]
2021-04-07 15:37:26 jdbc[3]: exception
org.h2.jdbc.JdbcSQLDataException: Data conversion error converting "social-netuno"; SQL statement:
select * from netuno_app where uid = 'social-netuno' [22018-198]
2021-04-07 15:39:21 jdbc[3]: exception
org.h2.jdbc.JdbcSQLDataException: Data conversion error converting "social-netuno"; SQL statement:
select * from netuno_app where uid = 'social-netuno' [22018-198]

+ 1
- 1
extensions/.obsolete View File

@ -1 +1 @@
{"dracula-theme.theme-dracula-2.22.3":true}
{"dracula-theme.theme-dracula-2.22.3":true,"fisheva.eva-theme-1.1.4":true,"esbenp.prettier-vscode-6.3.1":true}

+ 40
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/.vsixmanifest View File

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Language="en-US" Id="bracket-pair-colorizer" Version="1.0.20" Publisher="CoenraadS"/>
<DisplayName>Bracket Pair Colorizer</DisplayName>
<Description xml:space="preserve">A customizable extension for colorizing matching brackets</Description>
<Tags>bracket,brackets,multi-root ready</Tags>
<Categories>Other</Categories>
<GalleryFlags>Public</GalleryFlags>
<Badges></Badges>
<Properties>
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="^1.20.0" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionDependencies" Value="" />
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/CoenraadS/BracketPair" />
<Property Id="Microsoft.VisualStudio.Services.Links.Getstarted" Value="https://github.com/CoenraadS/BracketPair" />
<Property Id="Microsoft.VisualStudio.Services.Links.GitHub" Value="https://github.com/CoenraadS/BracketPair" />
<Property Id="Microsoft.VisualStudio.Services.Branding.Color" Value="#1E1E1E" />
<Property Id="Microsoft.VisualStudio.Services.Branding.Theme" Value="dark" />
<Property Id="Microsoft.VisualStudio.Services.GitHubFlavoredMarkdown" Value="true" />
</Properties>
<License>extension/LICENSE.md</License>
<Icon>extension/images/icon.png</Icon>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Code"/>
</Installation>
<Dependencies/>
<Assets>
<Asset Type="Microsoft.VisualStudio.Code.Manifest" Path="extension/package.json" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Content.Details" Path="extension/README.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Content.Changelog" Path="extension/CHANGELOG.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Content.License" Path="extension/LICENSE.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Icons.Default" Path="extension/images/icon.png" Addressable="true" />
</Assets>
</PackageManifest>

+ 275
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/CHANGELOG.md View File

@ -0,0 +1,275 @@
## Release Notes
### 1.0.20
PrismJs bump to restore nested commenting behaviour for clike languages
### 1.0.19
Updated PrismJs.
New languages: `clojure, arff, liquid`
### 1.0.18
Map .vue to HTML
### 1.0.17
Parse embedded javascript in HTML files
### 1.0.16
Parse markdown URL brackets
### 1.0.15
Nunjucks support
### 1.0.14
Fix cross-contamination of rules across languages
### 1.0.13
Improve PowerShell support by applying matches to namespaces
### 1.0.12
Implement non-exact matching of tags. e.g. "</" can now be partially matched with "<"
### 1.0.11
Fixed JSON parsing (again)
Added attribute parsing to HTML (should make Angular look nicer)
### 1.0.10
Fixed JSON strings with single quotes in them breaking parsing
### 1.0.9
Restored HTML support
### 1.0.8
Improved OpenSCAD support
### 1.0.7
Replace settings
`"bracketPairColorizer.activeScopeBorderStyle"`
`"bracketPairColorizer.activeScopeBackgroundColor"`
with `"bracketPairColorizer.activeScopeCSS"`
### 1.0.6
Fix `"bracketPairColorizer.highlightActiveScope"` setting not being respected
### 1.0.5
Added feature to highlight active scope
It can be configured with the following settings:
`"bracketPairColorizer.highlightActiveScope"`
`"bracketPairColorizer.activeScopeBorderStyle"`
`"bracketPairColorizer.activeScopeBackgroundColor"`
See [README.md](https://github.com/CoenraadS/BracketPair/blob/master/README.md) for details
### 1.0.4
Added OpenSCAD support again
Added Visual Basic Support
### 1.0.3
Removed incorrect OpenSCAD support
Added json with comments support
### 1.0.2
Previous release broke everything
Fix OpenSCAD support
### 1.0.1
Fix .jsx and .tsx support
### 1.0.0
Parsing offloaded to PrismJS.
### 0.10.16
Stylable support (Thanks @tomrav)
Visual Studio Live Share support (Thanks @lostintangent)
OpenSCAD support (Thanks @atnbueno)
### 0.10.14
Multi-root ready attempt #2 (Settings were not resource scoped)
### 0.10.13
Multi-root ready
### 0.10.12
Better support for detecting rust apostrophes when not being used to define a char
### 0.10.11
Add multi-root support
### 0.10.10
Add contextual parsing for:
- lua
### 0.10.9
Add contextual parsing for:
- rust
- sql
### 0.10.8
Add contextual parsing for:
- go
- crystal
### 0.10.7
Add contextual parsing for:
- dart
### 0.10.6
Add contextual parsing for:
- clojure strings
### 0.10.5
Bracket Colors will no longer bleed into newly typed text when a timeout is set.
Add contextual parsing for:
- typescripttreact
### 0.10.4
Add contextual parsing for:
- clojure (`;` only)
- javascriptreact
### 0.10.3
Add PowerShell support
### 0.10.2
Fix Cannot find module './multipleIndexes'.
### 0.10.1
Fix ligatures breaking when using empty colors
### 0.10.0
Fix support for F# multiline comments (* *)
Internal refactoring, preparation for big code cleanup
### 0.9.0
Basic support for F# contextual parsing
### 0.8.9
Added SCSS and LESS contextual parsing
### 0.8.8
Added HTML and CSS contextual parsing
### 0.8.7
Added JSON (with comments) contextual parsing
### 0.8.6
Fixed line caching
### 0.8.5
Removed line caching temporarily
### 0.8.4
Settings will now hot-reload
Show error on invalid settings
### 0.8.3
Improved colorizing documents after closing or changing active document
### 0.8.2
Fixed an error causing only first document to be parsed
### 0.8.1
Added swift support for contextual parsing
### 0.8.0
The following settings were tightly coupled, so have been combined into one setting:
Removed `"bracketPairColorizer.colorizeQuotes"` setting
Removed `"bracketPairColorizer.colorizeComments"` setting
Added `bracketPairColorizer.contextualParsing` setting
Contextual parsing will ignore brackets in comments or strings.
Contextual parsing has experimental support for the following languages:
- python
- typescript
- javascript
- c
- cpp
- csharp
- java
- php
- ruby
- r
### 0.7.5
Added experimental support for python comments in python files
### 0.7.4
Fix multiple character escapes not being captured
### 0.7.3
Fix quotes in comments and vice versa breaking bracket coloring
### 0.7.2
Fix multiline comments breaking bracket coloring
### 0.7.1
Added backticks `` ` `` as quote modifier
### 0.7.0
Ignore brackets in quotes by default
Added `"bracketPairColorizer.colorizeQuotes"` setting to toggle
### 0.6.2
Performance improvements due to reduced string copying
### 0.6.1
Second attempt at adding support for multiline comments
### 0.6
Rollback to equivalent of 0.5.0 because comments broke
### 0.5.1
Added support for multiline comments
### 0.5.0
Ignore brackets in comments by default
Added `"bracketPairColorizer.colorizeComments"` setting to toggle
### 0.4.0
Fix an error where editor.document can return undefined
### 0.3.2
Fix an error where active editor may be undefined at startup
### 0.3.1
Internal logic cleanup
Markdown cleanup
### 0.3.0
Fix colorizing all editors, including terminals. Now it will only colorize documents.
### 0.2.1
forceUniqueOpeningColor now works with independent color pools
forceIterationColorCycle now works with independent color pools
### 0.2.0
Added forceUniqueOpeningColor
Added forceIterationColorCycle
### 0.1.1
Prevent opening brackets having same color as previous closing bracket in consecutive mode
### 0.1.0
Added consecutive bracket coloring
### 0.0.4
Fixed race condition causing a textEditor to be disposed while updating decoration.
### 0.0.3
Updated ReadMe
Improved icon
### 0.0.2
Fixed an issue where timeout wasn't being disabled when set to 0
### 0.0.1
Initial release

+ 21
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/LICENSE.md View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 78
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/README.md View File

@ -0,0 +1,78 @@
# Bracket Pair Colorizer
This extension allows matching brackets to be identified with colours. The user can define which characters to match, and which colours to use.
Screenshot:
![Screenshot](https://github.com/CoenraadS/BracketPair/raw/master/images/example.png "Bracket Pair Colorizer")
-----------------------------------------------------------------------------------------------------------
## [Release Notes](https://github.com/CoenraadS/BracketPair/blob/master/CHANGELOG.md)
## Features
### User defined matching characters
> By default (), [], and {} are matched, however custom bracket characters can also be configured.
> A list of colors can be configured, as well as a specific color for orphaned brackets.
> Language support provided by Prism.js: http://prismjs.com/#languages-list
-----------------------------------------------------------------------------------------------------------
## Settings
> `"bracketPairColorizer.timeOut"`
Configure how long the editor should be idle for before updating the document.
Set to 0 to disable.
> `"bracketPairColorizer.forceUniqueOpeningColor"`
![Disabled](https://github.com/CoenraadS/BracketPair/raw/master/images/forceUniqueOpeningColorDisabled.png "forceUniqueOpeningColor Disabled")
![Enabled](https://github.com/CoenraadS/BracketPair/raw/master/images/forceUniqueOpeningColorEnabled.png "forceUniqueOpeningColor Enabled")
> `"bracketPairColorizer.forceIterationColorCycle"`
![Enabled](https://github.com/CoenraadS/BracketPair/raw/master/images/forceIterationColorCycleEnabled.png "forceIterationColorCycle Enabled")
>`"bracketPairColorizer.colorMode"`
Consecutive brackets share a color pool for all bracket types
Independent brackets allow each bracket type to use its own color pool
![Consecutive](https://github.com/CoenraadS/BracketPair/raw/master/images/consecutiveExample.png "Consecutive Example")
![Independent](https://github.com/CoenraadS/BracketPair/raw/master/images/independentExample.png "Independent Example")
> `"bracketPairColorizer.highlightActiveScope"`
Should the currently scoped brackets always be highlighted?
> `"bracketPairColorizer.activeScopeCSS"`
Choose a border style to highlight the active scope. Use `{color}` to match the existing bracket color
It is recommended to disable the inbuilt `editor.matchBrackets` setting if using this feature
![BorderStyle](https://github.com/CoenraadS/BracketPair/raw/master/images/activeScopeBorder.png "Active Scope Border Example")
>Tip: Add the value `"backgroundColor : {color}"` to increase visibility
![BorderBackground](https://github.com/CoenraadS/BracketPair/raw/master/images/activeScopeBackground.png "Active Scope Background Example")
> `"bracketPairColorizer.consecutivePairColors"`
> A new bracket pair can be configured by adding it to the array.
> Note: Pair must be supported punctuation type by Prism.js
> `"bracketPairColorizer.independentPairColors"`
> A new bracket pair can be configured by adding it to the array.
> Note: Pair must be supported punctuation type by Prism.js
>### HTML Configuration
>An example configuration for HTML is:
```
"bracketPairColorizer.consecutivePairColors": [
[
"</",
">"
],
[
"<",
"/>"
],
"<>",
[
"Gold",
"Orchid",
"LightSkyBlue"
],
"Red"
]
```

BIN
extensions/coenraads.bracket-pair-colorizer-1.0.20/images/activeScopeBackground.png View File

Before After
Width: 480  |  Height: 121  |  Size: 5.0 KiB

BIN
extensions/coenraads.bracket-pair-colorizer-1.0.20/images/activeScopeBorder.png View File

Before After
Width: 370  |  Height: 123  |  Size: 4.0 KiB

BIN
extensions/coenraads.bracket-pair-colorizer-1.0.20/images/consecutiveExample.png View File

Before After
Width: 155  |  Height: 60  |  Size: 2.5 KiB

BIN
extensions/coenraads.bracket-pair-colorizer-1.0.20/images/example.png View File

Before After
Width: 503  |  Height: 170  |  Size: 16 KiB

BIN
extensions/coenraads.bracket-pair-colorizer-1.0.20/images/forceIterationColorCycleEnabled.png View File

Before After
Width: 300  |  Height: 60  |  Size: 3.6 KiB

BIN
extensions/coenraads.bracket-pair-colorizer-1.0.20/images/forceUniqueOpeningColorDisabled.png View File

Before After
Width: 297  |  Height: 60  |  Size: 3.5 KiB

BIN
extensions/coenraads.bracket-pair-colorizer-1.0.20/images/forceUniqueOpeningColorEnabled.png View File

Before After
Width: 290  |  Height: 60  |  Size: 3.6 KiB

BIN
extensions/coenraads.bracket-pair-colorizer-1.0.20/images/icon.png View File

Before After
Width: 128  |  Height: 128  |  Size: 3.5 KiB

+ 109
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/images/icon.svg View File

@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
width="128"
height="128"
viewBox="0 0 128 128"
id="svg2"
version="1.1">
<defs
id="defs4" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer2">
<rect
style="fill:#333333;fill-opacity:1"
id="rect4300"
width="128"
height="128"
x="0"
y="2.2617187e-005" />
</g>
<g
id="g3535">
<g
id="g3527">
<text
id="text3350"
y="92.075386"
x="48.020668"
style="font-style:normal;font-weight:normal;font-size:40.00056458px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"
transform="scale(1.0000162,0.9999838)"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Consolas;-inkscape-font-specification:Consolas;fill:#19a6ff;fill-opacity:1"
y="92.075386"
x="48.020668"
id="tspan3352">(</tspan></text>
<text
transform="scale(0.99999644,1.0000036)"
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="35.211063"
y="97.293411"
id="text3462"><tspan
id="tspan3464"
x="35.211063"
y="97.293411"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:60px;font-family:Consolas;-inkscape-font-specification:Consolas;fill:#fffc00;fill-opacity:1">(</tspan></text>
<text
transform="scale(1.0000021,0.9999979)"
id="text3466"
y="102.51353"
x="20.281208"
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:80px;font-family:Consolas;-inkscape-font-specification:Consolas;fill:#b21212;fill-opacity:1"
y="102.51353"
x="20.281208"
id="tspan3468">(</tspan></text>
</g>
<g
id="g3519">
<text
id="text3350-8"
y="56.804874"
x="57.885876"
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Consolas;-inkscape-font-specification:Consolas;fill:#19a6ff;fill-opacity:1"
y="56.804874"
x="57.885876"
id="tspan3352-6">)</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="59.695812"
y="62.024811"
id="text3462-4"><tspan
id="tspan3464-2"
x="59.695812"
y="62.024811"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:60px;font-family:Consolas;-inkscape-font-specification:Consolas;fill:#fffc00;fill-opacity:1">)</tspan></text>
<text
id="text3466-0"
y="67.244247"
x="63.584751"
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:80px;font-family:Consolas;-inkscape-font-specification:Consolas;fill:#b21212;fill-opacity:1"
y="67.244247"
x="63.584751"
id="tspan3468-8">)</tspan></text>
</g>
</g>
</svg>

BIN
extensions/coenraads.bracket-pair-colorizer-1.0.20/images/independentExample.png View File

Before After
Width: 155  |  Height: 60  |  Size: 2.5 KiB

+ 4
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/IColorIndexes.js View File

@ -0,0 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
;
//# sourceMappingURL=IColorIndexes.js.map

+ 11
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/bracket.js View File

@ -0,0 +1,11 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class Bracket {
constructor(character, range, colorIndex, pair) {
this.character = character;
this.range = range;
this.colorIndex = colorIndex;
}
}
exports.default = Bracket;
//# sourceMappingURL=bracket.js.map

+ 12
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/bracketPair.js View File

@ -0,0 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class BracketPair {
constructor(firstBracket, lastBracket, colors, orphanColor) {
this.openCharacter = firstBracket;
this.closeCharacter = lastBracket;
this.colors = colors;
this.orphanColor = orphanColor;
}
}
exports.default = BracketPair;
//# sourceMappingURL=bracketPair.js.map

+ 9
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/colorMode.js View File

@ -0,0 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ColorMode;
(function (ColorMode) {
ColorMode[ColorMode["Consecutive"] = 0] = "Consecutive";
ColorMode[ColorMode["Independent"] = 1] = "Independent";
})(ColorMode || (ColorMode = {}));
exports.default = ColorMode;
//# sourceMappingURL=colorMode.js.map

+ 284
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/documentDecoration.js View File

@ -0,0 +1,284 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const vscode = require("vscode");
const foundBracket_1 = require("./foundBracket");
const textLine_1 = require("./textLine");
class DocumentDecoration {
constructor(document, prismJs, settings) {
// This program caches lines, and will only analyze linenumbers including or above a modified line
this.lineToUpdateWhenTimeoutEnds = 0;
this.lines = [];
// What have I created..
this.stringStrategies = new Map();
this.stringOrTokenArrayStrategies = new Map();
this.settings = settings;
this.document = document;
this.prismJs = prismJs;
const basicStringMatch = (content, lineIndex, charIndex, positions) => {
return this.matchString(content, lineIndex, charIndex, positions);
};
// Match punctuation on all languages
this.stringStrategies.set("punctuation", basicStringMatch);
if (settings.prismLanguageID === "markup") {
this.stringStrategies.set("attr-name", basicStringMatch);
}
if (settings.prismLanguageID === "powershell") {
this.stringStrategies.set("namespace", basicStringMatch);
}
if (settings.prismLanguageID === "markdown") {
const markdownUrl = (array, lineIndex, charIndex, positions) => {
// Input: ![Disabled](images/forceUniqueOpeningColorDisabled.png "forceUniqueOpeningColor Disabled")
// [0]: ![Disabled](images/forceUniqueOpeningColorDisabled.png
// [1]: "forceUniqueOpeningColor Disabled"
// [2]: )
return this.matchStringOrTokenArray(new Set([0, array.length - 1]), array, lineIndex, charIndex, positions);
};
this.stringOrTokenArrayStrategies.set("url", markdownUrl);
}
}
dispose() {
this.settings.dispose();
}
onDidChangeTextDocument(contentChanges) {
this.updateLowestLineNumber(contentChanges);
this.triggerUpdateDecorations();
}
// Lines are stored in an array, if line is requested outside of array bounds
// add emptys lines until array is correctly sized
getLine(index, document) {
if (index < this.lines.length) {
return this.lines[index];
}
else {
if (this.lines.length === 0) {
this.lines.push(new textLine_1.default(document.lineAt(0).text, this.settings, 0));
}
for (let i = this.lines.length; i <= index; i++) {
const previousLine = this.lines[this.lines.length - 1];
const newLine = new textLine_1.default(document.lineAt(i).text, this.settings, i, previousLine.copyMultilineContext());
this.lines.push(newLine);
}
const lineToReturn = this.lines[this.lines.length - 1];
return lineToReturn;
}
}
triggerUpdateDecorations() {
if (this.settings.isDisposed) {
return;
}
if (this.settings.timeOutLength > 0) {
if (this.updateDecorationTimeout) {
clearTimeout(this.updateDecorationTimeout);
}
this.updateDecorationTimeout = setTimeout(() => {
this.updateDecorationTimeout = null;
this.updateDecorations();
if (this.updateScopeEvent) {
this.updateScopeDecorations(this.updateScopeEvent);
this.updateScopeEvent = undefined;
}
}, this.settings.timeOutLength);
}
else {
this.updateDecorations();
}
}
updateScopeDecorations(event) {
if (this.updateDecorationTimeout) {
this.updateScopeEvent = event;
return;
}
const scopes = new Set();
event.selections.forEach((selection) => {
const scope = this.getScope(selection.active);
if (scope) {
scopes.add(scope);
}
});
const colorMap = new Map();
// Reduce all the colors/ranges of the lines into a singular map
for (const scope of scopes) {
{
const existingRanges = colorMap.get(scope.color);
if (existingRanges !== undefined) {
existingRanges.push(scope.open.range);
existingRanges.push(scope.close.range);
}
else {
colorMap.set(scope.color, [scope.open.range, scope.close.range]);
}
}
}
for (const [color, decoration] of this.settings.scopeDecorations) {
const ranges = colorMap.get(color);
if (ranges !== undefined) {
event.textEditor.setDecorations(decoration, ranges);
}
else {
// We must set non-used colors to an empty array
// or previous decorations will not be invalidated
event.textEditor.setDecorations(decoration, []);
}
}
}
getScope(position) {
for (let i = position.line; i < this.lines.length; i++) {
const scope = this.lines[i].getScope(position);
if (scope) {
return scope;
}
}
}
updateLowestLineNumber(contentChanges) {
for (const contentChange of contentChanges) {
this.lineToUpdateWhenTimeoutEnds =
Math.min(this.lineToUpdateWhenTimeoutEnds, contentChange.range.start.line);
}
}
updateDecorations() {
// One document may be shared by multiple editors (side by side view)
const editors = vscode.window.visibleTextEditors.filter((e) => this.document === e.document);
if (editors.length === 0) {
console.warn("No editors associated with document: " + this.document.fileName);
return;
}
const lineNumber = this.lineToUpdateWhenTimeoutEnds;
const amountToRemove = this.lines.length - lineNumber;
// Remove cached lines that need to be updated
this.lines.splice(lineNumber, amountToRemove);
const languageID = this.settings.prismLanguageID;
const text = this.document.getText();
let tokenized;
try {
tokenized = this.prismJs.tokenize(text, this.prismJs.languages[languageID]);
if (!tokenized) {
return;
}
}
catch (err) {
console.warn(err);
return;
}
const positions = [];
this.parseTokenOrStringArray(tokenized, 0, 0, positions);
positions.forEach((element) => {
const currentLine = this.getLine(element.range.start.line, this.document);
currentLine.addBracket(element);
});
this.colorDecorations(editors);
}
parseTokenOrStringArray(tokenized, lineIndex, charIndex, positions) {
tokenized.forEach((token) => {
if (token instanceof this.prismJs.Token) {
const result = this.parseToken(token, lineIndex, charIndex, positions);
charIndex = result.charIndex;
lineIndex = result.lineIndex;
}
else {
const result = this.parseString(token, lineIndex, charIndex);
charIndex = result.charIndex;
lineIndex = result.lineIndex;
}
});
return { lineIndex, charIndex };
}
parseString(content, lineIndex, charIndex) {
const split = content.split("\n");
if (split.length > 1) {
lineIndex += split.length - 1;
charIndex = split[split.length - 1].length;
}
else {
charIndex += content.length;
}
return { lineIndex, charIndex };
}
parseToken(token, lineIndex, charIndex, positions) {
if (typeof token.content === "string") {
const strategy = this.stringStrategies.get(token.type);
if (strategy) {
return strategy(token.content, lineIndex, charIndex, positions);
}
return this.parseString(token.content, lineIndex, charIndex);
}
else if (Array.isArray(token.content)) {
const strategy = this.stringOrTokenArrayStrategies.get(token.type);
if (strategy) {
return strategy(token.content, lineIndex, charIndex, positions);
}
return this.parseTokenOrStringArray(token.content, lineIndex, charIndex, positions);
}
else {
return this.parseToken(token.content, lineIndex, charIndex, positions);
}
}
matchString(content, lineIndex, charIndex, positions) {
if (lineIndex < this.lineToUpdateWhenTimeoutEnds) {
return this.parseString(content, lineIndex, charIndex);
;
}
this.settings.regexNonExact.lastIndex = 0;
let match;
// tslint:disable-next-line:no-conditional-assignment
while ((match = this.settings.regexNonExact.exec(content)) !== null) {
const startPos = new vscode.Position(lineIndex, charIndex + match.index);
const endPos = startPos.translate(0, match[0].length);
positions.push(new foundBracket_1.default(new vscode.Range(startPos, endPos), match[0]));
}
return this.parseString(content, lineIndex, charIndex);
}
// Array can be Token or String. Indexes are which indexes should be parsed for brackets
matchStringOrTokenArray(indexes, array, lineIndex, charIndex, positions) {
for (let i = 0; i < array.length; i++) {
const content = array[i];
let result;
if (indexes.has(i) && typeof content === "string") {
result = this.matchString(content, lineIndex, charIndex, positions);
}
else {
result = this.parseTokenOrStringArray([content], lineIndex, charIndex, positions);
}
lineIndex = result.lineIndex;
charIndex = result.charIndex;
}
return { lineIndex, charIndex };
}
colorDecorations(editors) {
const colorMap = new Map();
// Reduce all the colors/ranges of the lines into a singular map
for (const line of this.lines) {
{
for (const [color, ranges] of line.colorRanges) {
const existingRanges = colorMap.get(color);
if (existingRanges !== undefined) {
existingRanges.push(...ranges);
}
else {
// Slice because we will be adding values to this array in the future,
// but don't want to modify the original array which is stored per line
colorMap.set(color, ranges.slice());
}
}
}
}
for (const [color, decoration] of this.settings.bracketDecorations) {
if (color === "") {
continue;
}
const ranges = colorMap.get(color);
editors.forEach((editor) => {
if (ranges !== undefined) {
editor.setDecorations(decoration, ranges);
}
else {
// We must set non-used colors to an empty array
// or previous decorations will not be invalidated
editor.setDecorations(decoration, []);
}
});
}
this.lineToUpdateWhenTimeoutEnds = Infinity;
}
}
exports.default = DocumentDecoration;
//# sourceMappingURL=documentDecoration.js.map

+ 118
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/documentDecorationManager.js View File

@ -0,0 +1,118 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const vscode_1 = require("vscode");
const documentDecoration_1 = require("./documentDecoration");
const prismJsLanguages_1 = require("./prismJsLanguages");
const settings_1 = require("./settings");
class DocumentDecorationManager {
constructor() {
this.supportedLanguages = new Set(prismJsLanguages_1.default);
this.showError = true;
this.documents = new Map();
this.PrismLoader = require("prismjs/tests/helper/prism-loader");
}
reset() {
this.documents.forEach((document, key) => {
document.dispose();
});
this.documents.clear();
this.updateAllDocuments();
}
updateDocument(document) {
const documentDecoration = this.getDocumentDecorations(document);
if (documentDecoration) {
documentDecoration.triggerUpdateDecorations();
}
}
onDidOpenTextDocument(document) {
const documentDecoration = this.getDocumentDecorations(document);
if (documentDecoration) {
documentDecoration.triggerUpdateDecorations();
}
}
onDidChangeTextDocument(document, contentChanges) {
const documentDecoration = this.getDocumentDecorations(document);
if (documentDecoration) {
documentDecoration.onDidChangeTextDocument(contentChanges);
}
}
onDidCloseTextDocument(closedDocument) {
const uri = closedDocument.uri.toString();
const document = this.documents.get(uri);
if (document !== undefined) {
document.dispose();
this.documents.delete(closedDocument.uri.toString());
}
}
onDidChangeSelection(event) {
const documentDecoration = this.getDocumentDecorations(event.textEditor.document);
if (documentDecoration && documentDecoration.settings.highlightActiveScope) {
documentDecoration.updateScopeDecorations(event);
}
}
updateAllDocuments() {
vscode_1.window.visibleTextEditors.forEach((editor) => {
this.updateDocument(editor.document);
});
}
getDocumentDecorations(document) {
if (!this.isValidDocument(document)) {
return;
}
const uri = document.uri.toString();
let documentDecorations = this.documents.get(uri);
if (documentDecorations === undefined) {
try {
const languages = this.getPrismLanguageID(document.languageId);
const primaryLanguage = languages[0];
if (!this.supportedLanguages.has(primaryLanguage)) {
return;
}
const settings = new settings_1.default(primaryLanguage, document.uri);
const prismJs = this.PrismLoader.createInstance(languages);
documentDecorations = new documentDecoration_1.default(document, prismJs, settings);
this.documents.set(uri, documentDecorations);
}
catch (error) {
if (error instanceof Error) {
if (this.showError) {
vscode_1.window.showErrorMessage("BracketPair Settings: " + error.message);
// Don't spam errors
this.showError = false;
setTimeout(() => {
this.showError = true;
}, 3000);
}
}
return;
}
}
return documentDecorations;
}
getPrismLanguageID(languageID) {
// Some VSCode language ids need to be mapped to match http://prismjs.com/#languages-list
switch (languageID) {
case "html": return ["markup", "javascript"];
case "javascriptreact": return ["jsx"];
case "jsonc": return ["javascript"];
case "mathml": return ["markup"];
case "nunjucks": return ["twig"];
case "scad": return ["swift"]; // workaround for unsupported language in Prism
case "svg": return ["markup"];
case "typescriptreact": return ["tsx"];
case "vb": return ["vbnet"];
case "vue": return ["markup", "javascript"];
case "xml": return ["markup"];
default: return [languageID];
}
}
isValidDocument(document) {
if (document === undefined || document.lineCount === 0) {
console.warn("Invalid document");
return false;
}
return document.uri.scheme === "file" || document.uri.scheme === "untitled" || document.uri.scheme === "vsls";
}
}
exports.default = DocumentDecorationManager;
//# sourceMappingURL=documentDecorationManager.js.map

+ 34
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/extension.js View File

@ -0,0 +1,34 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const vscode_1 = require("vscode");
const documentDecorationManager_1 = require("./documentDecorationManager");
function activate(context) {
const documentDecorationManager = new documentDecorationManager_1.default();
context.subscriptions.push(vscode_1.workspace.onDidChangeConfiguration((event) => {
if (event.affectsConfiguration("bracketPairColorizer")) {
documentDecorationManager.reset();
}
}));
context.subscriptions.push(vscode_1.window.onDidChangeVisibleTextEditors(() => {
documentDecorationManager.updateAllDocuments();
}));
context.subscriptions.push(vscode_1.workspace.onDidChangeTextDocument((event) => {
documentDecorationManager.onDidChangeTextDocument(event.document, event.contentChanges);
}));
context.subscriptions.push(vscode_1.workspace.onDidCloseTextDocument((event) => {
documentDecorationManager.onDidCloseTextDocument(event);
}));
context.subscriptions.push(vscode_1.workspace.onDidOpenTextDocument((event) => {
documentDecorationManager.onDidOpenTextDocument(event);
}));
context.subscriptions.push(vscode_1.window.onDidChangeTextEditorSelection((event) => {
documentDecorationManager.onDidChangeSelection(event);
}));
documentDecorationManager.reset();
}
exports.activate = activate;
// tslint:disable-next-line:no-empty
function deactivate() {
}
exports.deactivate = deactivate;
//# sourceMappingURL=extension.js.map

+ 10
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/foundBracket.js View File

@ -0,0 +1,10 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class FoundBracket {
constructor(range, type) {
this.range = range;
this.character = type;
}
}
exports.default = FoundBracket;
//# sourceMappingURL=foundBracket.js.map

+ 131
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/languages.js View File

@ -0,0 +1,131 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.languages = [
"markup",
"css",
"clike",
"javascript",
"abap",
"actionscript",
"ada",
"apacheconf",
"apl",
"applescript",
"arduino",
"asciidoc",
"aspnet",
"autoit",
"autohotkey",
"bash",
"basic",
"batch",
"bison",
"brainfuck",
"bro",
"c",
"csharp",
"cpp",
"coffeescript",
"crystal",
"css-extras",
"d",
"dart",
"django",
"diff",
"docker",
"eiffel",
"elixir",
"erlang",
"fsharp",
"fortran",
"gherkin",
"git",
"glsl",
"go",
"graphql",
"groovy",
"haml",
"handlebars",
"haskell",
"haxe",
"http",
"icon",
"inform7",
"ini",
"j",
"java",
"jolie",
"json",
"julia",
"keyman",
"kotlin",
"latex",
"less",
"livescript",
"lolcode",
"lua",
"makefile",
"markdown",
"matlab",
"mel",
"mizar",
"monkey",
"n4js",
"nasm",
"nginx",
"nim",
"nix",
"nsis",
"objectivec",
"ocaml",
"opencl",
"oz",
"parigp",
"parser",
"pascal",
"perl",
"php",
"php-extras",
"powershell",
"processing",
"prolog",
"properties",
"protobuf",
"pug",
"puppet",
"pure",
"python",
"q",
"qore",
"r",
"jsx",
"renpy",
"reason",
"rest",
"rip",
"roboconf",
"ruby",
"rust",
"sas",
"sass",
"scss",
"scala",
"scheme",
"smalltalk",
"smarty",
"sql",
"stylus",
"swift",
"tcl",
"textile",
"twig",
"typescript",
"vbnet",
"verilog",
"vhdl",
"vim",
"wiki",
"xojo",
"yaml",
];
//# sourceMappingURL=languages.js.map

+ 70
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/lineState.js View File

@ -0,0 +1,70 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const colorMode_1 = require("./colorMode");
const multipleIndexes_1 = require("./multipleIndexes");
const singularIndex_1 = require("./singularIndex");
class LineState {
constructor(settings, previousState) {
this.settings = settings;
if (previousState !== undefined) {
this.colorIndexes = previousState.colorIndexes;
this.previousBracketColor = previousState.previousBracketColor;
}
else {
switch (settings.colorMode) {
case colorMode_1.default.Consecutive:
this.colorIndexes = new singularIndex_1.default();
break;
case colorMode_1.default.Independent:
this.colorIndexes = new multipleIndexes_1.default(settings);
break;
default: throw new RangeError("Not implemented enum value");
}
}
}
getOpenBracketColor(bracketPair, range) {
let colorIndex;
if (this.settings.forceIterationColorCycle) {
colorIndex = (this.colorIndexes.getPreviousIndex(bracketPair) + 1) % bracketPair.colors.length;
}
else {
colorIndex = this.colorIndexes.getCurrentLength(bracketPair) % bracketPair.colors.length;
}
let color = bracketPair.colors[colorIndex];
if (this.settings.forceUniqueOpeningColor && color === this.previousBracketColor) {
colorIndex = (colorIndex + 1) % bracketPair.colors.length;
color = bracketPair.colors[colorIndex];
}
this.previousBracketColor = color;
this.colorIndexes.setCurrent(bracketPair, range, colorIndex);
return color;
}
;
getCloseBracketColor(bracketPair, range) {
const colorIndex = this.colorIndexes.getCurrentColorIndex(bracketPair, range);
let color;
if (colorIndex !== undefined) {
color = bracketPair.colors[colorIndex];
}
else {
color = bracketPair.orphanColor;
}
this.previousBracketColor = color;
return color;
}
getOpenBrackets() {
return this.colorIndexes.getOpenBrackets();
}
copyMultilineContext() {
const clone = {
colorIndexes: this.colorIndexes.clone(),
previousBracketColor: this.previousBracketColor,
};
return new LineState(this.settings, clone);
}
getScope(position) {
return this.colorIndexes.getScope(position);
}
}
exports.default = LineState;
//# sourceMappingURL=lineState.js.map

+ 49
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/match.js View File

@ -0,0 +1,49 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class Match {
static contains(content, position, character) {
return (this.checkMatch(content, position, character) &&
this.checkOffsetCondition(content, position, character));
}
static checkMatch(content, position, character) {
return content.substr(position, character.match.length) === character.match
&& this.isNotEscaped(content, position, character);
}
static isNotEscaped(content, position, character) {
if (!character.escapeCharacter) {
return true;
}
let counter = 0;
position -= character.escapeCharacter.length;
while (position > 0 &&
content.substr(position, character.escapeCharacter.length) === character.escapeCharacter) {
position -= character.escapeCharacter.length;
counter++;
}
return counter % 2 === 0;
}
static checkOffsetCondition(content, postion, character) {
if (character.mustMatchAtOffset) {
for (const matchCondition of character.mustMatchAtOffset) {
const checkPosition = postion + matchCondition.offset;
if (checkPosition < 0) {
return false;
}
if (!this.checkMatch(content, checkPosition, matchCondition.character)) {
return false;
}
}
}
if (character.mustNotMatchAtOffset) {
for (const matchCondition of character.mustNotMatchAtOffset) {
const checkPosition = postion + matchCondition.offset;
if (checkPosition >= 0 && this.checkMatch(content, checkPosition, matchCondition.character)) {
return false;
}
}
}
return true;
}
}
exports.default = Match;
//# sourceMappingURL=match.js.map

+ 17
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/modifierPair.js View File

@ -0,0 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ModifierPair {
constructor(openingCharacter, closingCharacter, counter) {
this.counter = 0;
this.openingCharacter = openingCharacter;
this.closingCharacter = closingCharacter;
if (counter !== undefined) {
this.counter = counter;
}
}
Clone() {
return new ModifierPair(this.openingCharacter, this.closingCharacter, this.counter);
}
}
exports.default = ModifierPair;
//# sourceMappingURL=modifierPair.js.map

+ 74
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/multipleIndexes.js View File

@ -0,0 +1,74 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const vscode_1 = require("vscode");
const bracket_1 = require("./bracket");
const scope_1 = require("./scope");
class MultipleIndexes {
constructor(settings, previousState) {
this.openBrackets = {};
this.previousOpenBracketColorIndexes = {};
this.bracketScopes = [];
this.settings = settings;
if (previousState !== undefined) {
this.openBrackets = previousState.currentOpenBracketColorIndexes;
this.previousOpenBracketColorIndexes = previousState.previousOpenBracketColorIndexes;
}
else {
settings.bracketPairs.forEach((bracketPair) => {
this.openBrackets[bracketPair.openCharacter] = [];
this.previousOpenBracketColorIndexes[bracketPair.openCharacter] = -1;
});
}
}
getOpenBrackets() {
const brackets = new Set();
Object.keys(this.openBrackets).forEach((key) => {
if (this.openBrackets[key].length > 0) {
brackets.add(key);
}
});
return brackets;
}
getPreviousIndex(bracketPair) {
return this.previousOpenBracketColorIndexes[bracketPair.openCharacter];
}
setCurrent(bracketPair, range, colorIndex) {
this.openBrackets[bracketPair.openCharacter].push(new bracket_1.default(bracketPair.openCharacter, range, colorIndex));
this.previousOpenBracketColorIndexes[bracketPair.openCharacter] = colorIndex;
}
getCurrentLength(bracketPair) {
return this.openBrackets[bracketPair.openCharacter].length;
}
getCurrentColorIndex(bracketPair, range) {
const openBracket = this.openBrackets[bracketPair.openCharacter].pop();
if (openBracket) {
const closeBracket = new bracket_1.default(bracketPair.closeCharacter, range, openBracket.colorIndex);
const scopeRange = new vscode_1.Range(openBracket.range.start, range.end);
this.bracketScopes.push(new scope_1.default(scopeRange, bracketPair.colors[openBracket.colorIndex], openBracket, closeBracket));
return openBracket.colorIndex;
}
}
getScope(position) {
for (const scope of this.bracketScopes) {
if (scope.range.contains(position)) {
return scope;
}
}
}
clone() {
const bracketColorIndexesCopy = {};
Object.keys(this.openBrackets).forEach((key) => {
bracketColorIndexesCopy[key] = this.openBrackets[key].slice();
});
const previousOpenBracketIndexesCopy = {};
Object.keys(this.previousOpenBracketColorIndexes).forEach((key) => {
previousOpenBracketIndexesCopy[key] = this.previousOpenBracketColorIndexes[key];
});
return new MultipleIndexes(this.settings, {
currentOpenBracketColorIndexes: bracketColorIndexesCopy,
previousOpenBracketColorIndexes: previousOpenBracketIndexesCopy,
});
}
}
exports.default = MultipleIndexes;
//# sourceMappingURL=multipleIndexes.js.map

+ 143
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/prismJsLanguages.js View File

@ -0,0 +1,143 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const PrismJsLanguages = [
"abap",
"actionscript",
"ada",
"apacheconf",
"apl",
"applescript",
"arduino",
"arff",
"asciidoc",
"asm6502",
"aspnet",
"autohotkey",
"autoit",
"bash",
"basic",
"batch",
"bison",
"brainfuck",
"bro",
"c",
"clike",
"clojure",
"coffeescript",
"cpp",
"crystal",
"csharp",
"csp",
"css",
"d",
"dart",
"diff",
"django",
"docker",
"eiffel",
"elixir",
"elm",
"erlang",
"flow",
"fortran",
"fsharp",
"gherkin",
"git",
"glsl",
"go",
"graphql",
"groovy",
"haml",
"handlebars",
"haskell",
"haxe",
"hpkp",
"hsts",
"http",
"ichigojam",
"icon",
"inform7",
"ini",
"io",
"j",
"java",
"javascript",
"jolie",
"json",
"jsx",
"julia",
"keyman",
"kotlin",
"latex",
"less",
"liquid",
"livescript",
"lolcode",
"lua",
"makefile",
"markdown",
"markup",
"matlab",
"mel",
"mizar",
"monkey",
"n4js",
"nasm",
"nginx",
"nim",
"nix",
"nsis",
"objectivec",
"ocaml",
"opencl",
"oz",
"parigp",
"parser",
"pascal",
"perl",
"php",
"powershell",
"processing",
"prolog",
"properties",
"protobuf",
"pug",
"puppet",
"pure",
"python",
"q",
"qore",
"r",
"reason",
"renpy",
"rest",
"rip",
"roboconf",
"ruby",
"rust",
"sas",
"sass",
"scala",
"scheme",
"scss",
"smalltalk",
"smarty",
"sql",
"stylus",
"swift",
"tcl",
"textile",
"tsx",
"twig",
"typescript",
"vbnet",
"verilog",
"vhdl",
"vim",
"wiki",
"xeora",
"xojo",
"yaml",
];
exports.default = PrismJsLanguages;
//# sourceMappingURL=prismJsLanguages.js.map

+ 14
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/scope.js View File

@ -0,0 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const vscode_1 = require("vscode");
class Scope {
constructor(range, color, open, close) {
// Scope does not include edges
this.range = new vscode_1.Range(range.start.translate(0, 1), range.end.translate(0, -1));
this.color = color;
this.open = open;
this.close = close;
}
}
exports.default = Scope;
//# sourceMappingURL=scope.js.map

+ 14
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/scopeCharacter.js View File

@ -0,0 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ScopeCharacter {
constructor(match, options) {
this.match = match;
if (options) {
this.escapeCharacter = options.escapeCharacter;
this.mustMatchAtOffset = options.mustMatchAtOffset;
this.mustNotMatchAtOffset = options.mustNotMatchAtOffset;
}
}
}
exports.default = ScopeCharacter;
//# sourceMappingURL=scopeCharacter.js.map

+ 10
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/scopePattern.js View File

@ -0,0 +1,10 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ScopePattern {
constructor(opener, closer) {
this.opener = opener;
this.closer = closer;
}
}
exports.default = ScopePattern;
//# sourceMappingURL=scopePattern.js.map

+ 166
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/settings.js View File

@ -0,0 +1,166 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const vscode = require("vscode");
const bracketPair_1 = require("./bracketPair");
const colorMode_1 = require("./colorMode");
class Settings {
constructor(languageID, documentUri) {
this.bracketPairs = [];
this.isDisposed = false;
this.prismLanguageID = languageID;
const configuration = vscode.workspace.getConfiguration("bracketPairColorizer", documentUri);
this.activeScopeCSS = configuration.get("activeScopeCSS");
if (!Array.isArray(this.activeScopeCSS)) {
throw new Error("activeScopeCSS is not an array");
}
this.highlightActiveScope = configuration.get("highlightActiveScope");
if (typeof this.highlightActiveScope !== "boolean") {
throw new Error("alwaysHighlightActiveScope is not a boolean");
}
this.forceUniqueOpeningColor = configuration.get("forceUniqueOpeningColor");
if (typeof this.forceUniqueOpeningColor !== "boolean") {
throw new Error("forceUniqueOpeningColor is not a boolean");
}
this.forceIterationColorCycle = configuration.get("forceIterationColorCycle");
if (typeof this.forceIterationColorCycle !== "boolean") {
throw new Error("forceIterationColorCycle is not a boolean");
}
this.colorMode = colorMode_1.default[configuration.get("colorMode")];
if (typeof this.colorMode !== "number") {
throw new Error("colorMode enum could not be parsed");
}
this.timeOutLength = configuration.get("timeOut");
if (typeof this.timeOutLength !== "number") {
throw new Error("timeOutLength is not a number");
}
if (this.colorMode === colorMode_1.default.Consecutive) {
const consecutiveSettings = configuration.get("consecutivePairColors");
if (!Array.isArray(consecutiveSettings)) {
throw new Error("consecutivePairColors is not an array");
}
if (consecutiveSettings.length < 3) {
throw new Error("consecutivePairColors expected at least 3 parameters, actual: "
+ consecutiveSettings.length);
}
const orphanColor = consecutiveSettings[consecutiveSettings.length - 1];
if (typeof orphanColor !== "string") {
throw new Error("consecutivePairColors[" + (consecutiveSettings.length - 1) + "] is not a string");
}
const colors = consecutiveSettings[consecutiveSettings.length - 2];
if (!Array.isArray(colors)) {
throw new Error("consecutivePairColors[" + (consecutiveSettings.length - 2) + "] is not a string[]");
}
consecutiveSettings.slice(0, consecutiveSettings.length - 2).forEach((brackets, index) => {
if (typeof brackets === "string" || Array.isArray(brackets)) {
if (brackets.length !== 2) {
throw new Error("consecutivePairColors[" + index + "] requires 2 element, e.g. ['(',')']");
}
this.bracketPairs.push(new bracketPair_1.default(brackets[0], brackets[1], colors, orphanColor));
return;
}
throw new Error("consecutivePairColors[ " + index + "] should be a string or an array of strings");
});
}
else {
const independentSettings = configuration.get("independentPairColors");
if (!Array.isArray(independentSettings)) {
throw new Error("independentPairColors is not an array");
}
independentSettings.forEach((innerArray, index) => {
if (!Array.isArray(innerArray)) {
throw new Error("independentPairColors[" + index + "] is not an array");
}
const brackets = innerArray[0];
if (typeof brackets !== "string" && !Array.isArray(brackets)) {
throw new Error("independentSettings[" + index + "][0] is not a string or an array of strings");
}
if (brackets.length < 2) {
throw new Error("independentSettings[" + index + "][0] needs at least 2 elements");
}
const colors = innerArray[1];
if (!Array.isArray(colors)) {
throw new Error("independentSettings[" + index + "][1] is not string[]");
}
const orphanColor = innerArray[2];
if (typeof orphanColor !== "string") {
throw new Error("independentSettings[" + index + "][2] is not a string");
}
this.bracketPairs.push(new bracketPair_1.default(brackets[0], brackets[1], colors, orphanColor));
});
}
this.regexNonExact = this.createRegex(this.bracketPairs, false);
this.bracketDecorations = this.createBracketDecorations(this.bracketPairs);
this.scopeDecorations = this.createScopeDecorations(this.bracketPairs);
}
dispose() {
this.scopeDecorations.forEach((decoration, key) => {
decoration.dispose();
});
this.scopeDecorations.clear();
this.bracketDecorations.forEach((decoration, key) => {
decoration.dispose();
});
this.bracketDecorations.clear();
this.isDisposed = true;
}
createRegex(bracketPairs, exact) {
const escape = (s) => s.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
let regex = "";
const matches = [];
bracketPairs.forEach((bracketPair) => {
matches.push(bracketPair.openCharacter);
matches.push(bracketPair.closeCharacter);
});
const sortedByLengthMatches = matches.sort((a, b) => b.length - a.length);
sortedByLengthMatches.forEach((match) => {
if (regex !== "") {
regex += "|";
}
if (exact) {
regex += `${escape(match)}`;
}
else {
regex += `${escape(match)}`;
}
});
return new RegExp(regex, !exact ? "g" : undefined);
;
}
createBracketDecorations(bracketPairs) {
const decorations = new Map();
for (const bracketPair of bracketPairs) {
for (const color of bracketPair.colors) {
const decoration = vscode.window.createTextEditorDecorationType({
color, rangeBehavior: vscode.DecorationRangeBehavior.ClosedClosed,
});
decorations.set(color, decoration);
}
const errorDecoration = vscode.window.createTextEditorDecorationType({
color: bracketPair.orphanColor,
rangeBehavior: vscode.DecorationRangeBehavior.ClosedClosed,
});
decorations.set(bracketPair.orphanColor, errorDecoration);
}
return decorations;
}
createScopeDecorations(bracketPairs) {
const decorations = new Map();
const cssElements = this.activeScopeCSS.map((e) => [e.substring(0, e.indexOf(":")).trim(),
e.substring(e.indexOf(":") + 1).trim()]);
for (const bracketPair of bracketPairs) {
for (const color of bracketPair.colors) {
const decorationSettings = {
rangeBehavior: vscode.DecorationRangeBehavior.ClosedClosed,
};
cssElements.forEach((element) => {
decorationSettings[element[0]] = element[1].replace("{color}", color);
});
const decoration = vscode.window.createTextEditorDecorationType(decorationSettings);
decorations.set(color, decoration);
}
}
return decorations;
}
}
exports.default = Settings;
//# sourceMappingURL=settings.js.map

+ 53
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/singularIndex.js View File

@ -0,0 +1,53 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const vscode = require("vscode");
const bracket_1 = require("./bracket");
const scope_1 = require("./scope");
class SingularIndex {
constructor(previousState) {
this.openBrackets = [];
this.previousOpenBracketColorIndex = -1;
this.bracketScopes = [];
if (previousState !== undefined) {
this.openBrackets = previousState.currentOpenBracketColorIndexes;
this.previousOpenBracketColorIndex = previousState.previousOpenBracketColorIndex;
}
}
getOpenBrackets() {
return new Set(this.openBrackets.map((e) => e.character));
}
getPreviousIndex(bracketPair) {
return this.previousOpenBracketColorIndex;
}
setCurrent(bracketPair, range, colorIndex) {
this.openBrackets.push(new bracket_1.default(bracketPair.openCharacter, range, colorIndex));
this.previousOpenBracketColorIndex = colorIndex;
}
getCurrentLength(bracketPair) {
return this.openBrackets.length;
}
getCurrentColorIndex(bracketPair, range) {
const openBracket = this.openBrackets.pop();
if (openBracket) {
const closeBracket = new bracket_1.default(bracketPair.orphanColor, range, openBracket.colorIndex);
const scopeRange = new vscode.Range(openBracket.range.start, range.end);
this.bracketScopes.push(new scope_1.default(scopeRange, bracketPair.colors[openBracket.colorIndex], openBracket, closeBracket));
return openBracket.colorIndex;
}
}
getScope(position) {
for (const scope of this.bracketScopes) {
if (scope.range.contains(position)) {
return scope;
}
}
}
clone() {
return new SingularIndex({
currentOpenBracketColorIndexes: this.openBrackets.slice(),
previousOpenBracketColorIndex: this.previousOpenBracketColorIndex,
});
}
}
exports.default = SingularIndex;
//# sourceMappingURL=singularIndex.js.map

+ 58
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/textLine.js View File

@ -0,0 +1,58 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const lineState_1 = require("./lineState");
class TextLine {
constructor(content, settings, index, lineState) {
this.colorRanges = new Map();
this.settings = settings;
this.content = content;
this.index = index;
if (lineState !== undefined) {
this.lineState = lineState;
}
else {
this.lineState = new lineState_1.default(settings);
}
}
// Return a copy of the line while mantaining bracket state. colorRanges is not mantained.
copyMultilineContext() {
return this.lineState.copyMultilineContext();
}
addBracket(bracket) {
const openBrackets = this.lineState.getOpenBrackets();
this.settings.bracketPairs.sort((a, b) => {
const x = openBrackets.has(a.openCharacter);
const y = openBrackets.has(b.openCharacter);
return x === y ? 0 : x ? -1 : 1;
});
for (const bracketPair of this.settings.bracketPairs) {
if (bracketPair.openCharacter === bracket.character) {
const color = this.lineState.getOpenBracketColor(bracketPair, bracket.range);
const colorRanges = this.colorRanges.get(color);
if (colorRanges !== undefined) {
colorRanges.push(bracket.range);
}
else {
this.colorRanges.set(color, [bracket.range]);
}
return;
}
else if (bracketPair.closeCharacter === bracket.character) {
const color = this.lineState.getCloseBracketColor(bracketPair, bracket.range);
const colorRanges = this.colorRanges.get(color);
if (colorRanges !== undefined) {
colorRanges.push(bracket.range);
}
else {
this.colorRanges.set(color, [bracket.range]);
}
return;
}
}
}
getScope(position) {
return this.lineState.getScope(position);
}
}
exports.default = TextLine;
//# sourceMappingURL=textLine.js.map

+ 11
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/out/src/tokenIndex.js View File

@ -0,0 +1,11 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class TokenIndex {
constructor(token, lineIndex, charIndex, positions) {
this.token = token;
this.lineIndex = lineIndex;
this.charIndex = charIndex;
}
}
exports.default = TokenIndex;
//# sourceMappingURL=tokenIndex.js.map

+ 163
- 0
extensions/coenraads.bracket-pair-colorizer-1.0.20/package.json View File

@ -0,0 +1,163 @@
{
"name": "bracket-pair-colorizer",
"displayName": "Bracket Pair Colorizer",
"description": "A customizable extension for colorizing matching brackets",
"version": "1.0.20",
"publisher": "CoenraadS",
"engines": {
"vscode": "^1.20.0"
},
"icon": "images/icon.png",
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"keywords": [
"bracket",
"brackets",
"multi-root ready"
],
"galleryBanner": {
"color": "#1E1E1E",
"theme": "dark"
},
"main": "./out/src/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "BracketPair",
"properties": {
"bracketPairColorizer.timeOut": {
"type": "number",
"default": 200,
"description": "How long the user should idle for, before the document is colorized. Set to 0 to disable",
"scope": "resource"
},
"bracketPairColorizer.forceUniqueOpeningColor": {
"type": "boolean",
"default": false,
"description": "Ensure that an opening brackets color does not match a previous brackets color",
"scope": "resource"
},
"bracketPairColorizer.forceIterationColorCycle": {
"type": "boolean",
"default": false,
"description": "Should opening brackets iterate the color cycle even if they are not nested",
"scope": "resource"
},
"bracketPairColorizer.colorMode": {
"type": "string",
"enum": [
"Consecutive",
"Independent"
],
"default": "Consecutive",
"description": "Should different brackets share a color group (Consecutive), or use their own color group (Independent)",
"scope": "resource"
},
"bracketPairColorizer.highlightActiveScope": {
"type": "boolean",
"default": false,
"description": "Should the active scope brackets always be highlighted? Recommended to disable editor.matchBrackets if using this feature.",
"scope": "resource"
},
"bracketPairColorizer.activeScopeCSS": {
"type": "array",
"default": [
"borderStyle : solid",
"borderWidth : 1px",
"borderColor : {color}; opacity: 0.5"
],
"description": "CSS for the active scope. Use {color} to match the bracket color. The string types listed at https://code.visualstudio.com/docs/extensionAPI/vscode-api#DecorationRenderOptions can be used",
"scope": "resource"
},
"bracketPairColorizer.consecutivePairColors": {
"type": "array",
"default": [
"()",
"[]",
"{}",
[
"Gold",
"Orchid",
"LightSkyBlue"
],
"Red"
],
"description": "Define paired characters and their shared color group",
"scope": "resource"
},
"bracketPairColorizer.independentPairColors": {
"type": [
"array"
],
"items": {
"type": [
"array"
]
},
"default": [
[
"()",
[
"Gold",
"Orchid",
"LightSkyBlue"
],
"Red"
],
[
"[]",
[
"Gold",
"Orchid",
"LightSkyBlue"
],
"Red"
],
[
"{}",
[
"Gold",
"Orchid",
"LightSkyBlue"
],
"Red"
]
],
"description": "Define paired characters and their color groups",
"scope": "resource"
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.40",
"@types/prismjs": "^1.9.0",
"mocha": "^2.3.3",
"tslint": "^4.5.1",
"typescript": "^2.2.1",
"vscode": "^1.0.5"
},
"repository": {
"type": "git",
"url": "https://github.com/CoenraadS/BracketPair"
},
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"prismjs": "^1.12.2"
},
"__metadata": {
"id": "CoenraadS.bracket-pair-colorizer",
"publisherId": "CoenraadS",
"publisherDisplayName": "CoenraadS"
}
}

+ 6
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/.editorconfig View File

@ -0,0 +1,6 @@
root = true
[*]
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true

+ 20
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/.github/ISSUE_TEMPLATE/bug_report.md View File

@ -0,0 +1,20 @@
---
name: Bug report
about: Create a report of a bug
title: ''
labels: bug
assignees: ''
---
## Steps to reproduce:
<table><td>
📝 <strong>Note:</strong> Remember to link to a repository or upload a code snippet that reproduces the issue as an attachment (or a code block if it’s short) to this issue: https://help.github.com/en/articles/file-attachments-on-issues-and-pull-requests
</td></table>
```ejs
<%# short code snippet that reproduces the issue goes here %>
```
## Expected result:

+ 3
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/.prettierrc View File

@ -0,0 +1,3 @@
{
"useTabs": true
}

+ 32
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/.vsixmanifest View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Language="en-US" Id="javascript-ejs-support" Version="1.3.1" Publisher="DigitalBrainstem"/>
<DisplayName>EJS language support</DisplayName>
<Description xml:space="preserve">2019 - EJS language support for Visual Studio Code.</Description>
<Tags>EJS,embedded javascript,syntax highlighting,vscode</Tags>
<Categories>Programming Languages</Categories>
<GalleryFlags>Public</GalleryFlags>
<Properties>
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/Digitalbrainstem/ejs-grammar.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Getstarted" Value="https://github.com/Digitalbrainstem/ejs-grammar.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Repository" Value="https://github.com/Digitalbrainstem/ejs-grammar.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Support" Value="https://github.com/Digitalbrainstem/ejs-grammar/issues" />
</Properties>
<Icon>extension/assets/icon.png</Icon>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Code"/>
</Installation>
<Dependencies/>
<Assets>
<Asset Type="Microsoft.VisualStudio.Code.Manifest" Path="extension/package.json" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Content.Details" Path="extension/README.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Icons.Default" Path="extension/assets/icon.png" Addressable="true" />
</Assets>
</PackageManifest>

+ 190
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/CHANGELOG.md View File

@ -0,0 +1,190 @@
# CHANGE LOG #
## 1.3.1 ##
- Fix single lines with mutliple ejs tags.
- Before: script would not capture inner tag causing " to be js not html.
```html
<button class="<% ... %>"><% ... %></button>
```
## 1.3.0 ##
- Change ejs tag type so they stand out in html code.
- Note: Will only show difference in some themes.
- Add php blocking regex so valid php does not get triggered.
- EJS tags inside of block comments will show as regular ejs tags now.
```html
<% /* %> <-- Will be colored correctly
Anything here will be commented out
--> <% */ %>
```
## 1.2.1 ##
- Add support for comment sections
- Thanks to [@illz](https://github.com/illz) for verfication.
```html
<% /* %>
Anything here will be commented out
<% */ %>
```
## 1.2.0 ##
- Add Snippet support
- Thanks to [@theranbrig](https://github.com/theranbrig) for initial snippet support.
- If snippets are not working add the following to your setting.json file
```json
"emmet.includeLanguages": {
"ejs": "html",
},
```
## 1.1.5 ##
- Fixed Block comment on line with ejs control variable
- Add support for ejs litteral `<%%`
## 1.1.4 ##
- Add support for conditional loops
- ReWrite to allow better html injection.
## 1.1.3 ##
- Prevent running under PHP.
## 1.1.2 ##
- Fixed support for JavaScript loops within EJS.
## 1.1.1 ##
- Fixed support for JavaScript comments using <kbd>ctrl+/</kbd> and <kbd>ctrl+shift+/</kbd> at EJS boundaries.
## 1.1.0 ##
- Added support for javascript comments using ctrl+/
## 1.0.0 ##
### Major UPDATE ###
#### NOTICE: If you are not seeing any style, set your file associations for "*.ejs" to html ####
##### file association #####
- Located in setting.json
- Should look like the following
```json
{
"files.associations": {
"*.ejs": "html"
}
}
```
#### Updates ####
- Major bump
- Changing to an injected language.
- Injecting into "text.html"
- Setting configurationDefaults for file.association for ejs to html.
- Rewrite of ejs.json
- Created ejs-tag.
## Unpublished 0.5.1 ##
- Fixed surrounding a selection with JavaScript template literals.
- Fixed language configuration within EJS blocks inside JavaScript code blocks.
## 0.5.0 ##
- Fixed single-line JS comments not being terminated correctly by an EJS closing tag. ([#28](https://github.com/Digitalbrainstem/ejs-grammar/issues/28))
- Fixed broken EJS inside HTML `<script>` and `<style>` elements. ([#27](https://github.com/Digitalbrainstem/ejs-grammar/issues/27) and [#31](https://github.com/Digitalbrainstem/ejs-grammar/issues/31))
- Fixed incorrect comments in HTML and JavaScript portions. ([#22](https://github.com/Digitalbrainstem/ejs-grammar/issues/22))
## 0.4.4 ##
- Published Untested Code. Rolling back.
## 0.4.1 ##
- No Code changes. Correcting information so those who help get properly recognized
## 0.4.0 ##
- Fixing bugs and a major rewrite! Thanks to [@ExE-Boss](https://github.com/ExE-Boss).
- Fixes [#3](https://github.com/Digitalbrainstem/ejs-grammar/issues/3)
- Fixes [#7](https://github.com/Digitalbrainstem/ejs-grammar/issues/7)
- Fixes [#20](https://github.com/Digitalbrainstem/ejs-grammar/issues/20)
## 0.3.2 ##
- Fixing readme.
## 0.3.1 ##
- Fixing spelling mistake!
## 0.3.0 ##
- Thanks to [@meesfrensel](https://github.com/meesfrensel) Added new auto close pair and other various corrections.
## 0.2.3 ##
- Issue [#6](https://github/Digitalbrainstem/ejs-grammar/issues/6): Fix errornous indentation on new line.
## 0.2.2 ##
- Update ReadMe: Adding Resources
- Update ReadMe: Adding History
- Update ReadMe: Adding links to EJS Docs
## 0.2.1 ##
- Update ReadMe
## 0.2.0 ##
- Feature: Allows support for alternate tags of EJS `<??>` now work.
- Adding Changelog.
*Note: Technically, `<?%>` OR `<%?>` works with this version. I need to comb through the code and make sure only matching pairs work. That is an item for down the road though.*
## 0.1.2 ##
- Adding keywords
- Adding todo items
## 0.1.1 ##
- Correcting ReadMe
## 0.1.0 ##
- Removed unused code
- Update ReadMe file
- Update Description
- Add tmLanguage file
## 0.0.3 ##
- Update Name and display name
## 0.0.2 ##
- Cleanup old files
## 0.0.1 ##
- Initial Release

+ 21
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/LICENSE View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 Betanu701
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 87
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/README.md View File

@ -0,0 +1,87 @@
[![Visual&nbsp;Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/DigitalBrainstem.javascript-ejs-support.svg?label=Visual%20Studio%20Marketplace)](https://marketplace.visualstudio.com/items?itemName=DigitalBrainstem.javascript-ejs-support)
[![License](https://img.shields.io/github/license/Digitalbrainstem/ejs-grammar.svg)](https://github.com/Digitalbrainstem/ejs-grammar/blob/master/LICENSE)
# EJS Language Support #
### NOTICE: If you are not seeing any style, set your file associations for "*.ejs" to html ###
- See CHANGELOG if you have issues with setting file.association
Syntax highlighting for EJS, Javascript, and HTML tags. Includes javascript autocompletion.
Please rate this and provide feedback for 2 reasons:
1. It helps me know what I need to improve. *Can't fix what I don't know*
2. It will help other know that this version is out there and that it is a newer version of the top ranked EJS language file. *Old one has not had an update in 7 years (as of 2018)*
If there is anything that I missed or features you would like this to include. [Let me know](https://github.com/Digitalbrainstem/ejs-grammar/issues)
*NOTE: This is in early development; however, it does provide greater functionality than the other ejs language supports.*
## Features
***If snippets do not show up, add the following to your settings file***
```json
"emmet.includeLanguages": {
"ejs": "html",
},
```
**Snippets are found below.**
→ Denotes the `TAB` key.
| Snippet→ | Alternate | Output |
| ---------- | -------- | ------------------------------------------------------------------------------------------------------- |
| `ejs→` | `<%` | `<% %>` - No output tag |
| `ejsout→` | `<%=` | `<%= %>` - Outputs HTML value |
| `ejsesc→` | `<%-` | `<%- %>` - Outputs unescaped |
| `ejscom→` | `<%#` | `<%# %>` - Comment tag |
| `ejslit→` | `<%%` | `<%% %>` - Outputs Literal <% |
| `ejsinc→` | `<%` | `include` statement |
| `ejsfor→` | `<%` | `for` Javascript Loop |
| `ejseach→` | `<%` | `forEach` Javascript Loop |
| `ejsif→` | `<%` | `if` Statement with condition |
| `ejselif→` | `<%` | `else if` Statement - *Middle section only.* Assumes you have already written the first `if` statement. |
| `ejselse→` | `<%` | `else` Statement - *Middle section only.* Assumes you have already written the first `if` statement. |
## EJS docs ##
If you need documention on how to use EJS:
[EJS Github](https://github.com/mde/ejs)
[EJS Website](https://ejs.co/)
## For Devs ##
If you need the tmLanguage file please visit my repo. It is located in syntaxes.
If you want to see support on other platforms let me know.
### Resources ###
I know Textmate/tmLanguage documention is not well recorded. If anyone reading this needs some good reading material on how to write one, these are the resources I used to help me write this.
+ [sublime Text](https://www.sublimetext.com/docs/3/scope_naming.html)
+ [Lessons Learned](https://www.apeth.com/nonblog/stories/textmatebundle.html)
+ [Textmate Manual](https://macromates.com/manual/en/language_grammars#language_grammars)
+ [Textmate Blog](https://blog.macromates.com/2005/language-grammars/)
+ [Atom Discussion 1](https://discuss.atom.io/t/first-steps-to-build-a-language-highlight/12047/5)
+ [Atom Discussion 2](https://discuss.atom.io/t/syntax-theme-nested-elements-recursivity-for-pattern/36536/5)
#### History ####
I wanted to start by utilizing other tmLanguage files that did things close to what EJS did. I tried starting with razor and PHP tmLanguage files from vscode. However, this ended up being more problimatic, as it would not do the things I wanted it to do. So I just started to write it from scratch to get it to work properly. The one thing I knew I did not want to do is have to write the others grammars definitions in this if I did not have to. I wanted to be able to utilize each of the embedded languages that were already created. This is more of a pain because you have to really have to think about the order things run and how regex and the tags work together. ALso recursion is huge to make it work properly. I am still learning, so if anyone has tips and tricks either let me know on twitter or github. I would love to here others that utilize this.
## Contributors ##
+ [@meesfrensel](https://github.com/meesfrensel)
+ [@ExE-Boss](https://github.com/ExE-Boss)
+ Orginal Snippet Library [@theranbrig](https://github.com/theranbrig) [Code](https://github.com/theranbrig/ejs-snippets
## Contact ##
Twitter: [@digibrainstem](https://twitter.com/digibrainstem)
[github](https://github.com/DigitalBrainstem/ejs-grammar)

BIN
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/assets/icon.png View File

Before After
Width: 90  |  Height: 24  |  Size: 869 B

+ 47
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/language-configuration.json View File

@ -0,0 +1,47 @@
{
"comments": {
// symbols used for start and end of a block comment.
"blockComment": [ "<%#", "%>", "<%/*", "*/%>", "<?#", "?>", "<?/*", "*/?>" ],
},
// symbols used as brackets
"brackets": [
["<!--", "-->"],
["<", ">"],
["{", "}"],
["[", "]"],
["(", ")"],
],
// symbols that are auto closed when typing
"autoClosingPairs": [
{ "open": "{", "close": "}" },
{ "open": "[", "close": "]" },
{ "open": "(", "close": ")" },
{ "open": "'", "close": "'" },
{ "open": "\"", "close": "\"" },
{ "open": "`", "close": "`", "notIn": ["string", "comment"] },
{ "open": "/*", "close": " */", "notIn": ["string"] },
{ "open": "/**", "close": " */", "notIn": ["string"] },
{ "open": "<!--", "close": "-->", "notIn": [ "comment", "string" ]},
{ "open": "<%", "close": "%>" },
],
// symbols that that can be used to surround a selection
"surroundingPairs": [
["<", ">"],
["{", "}"],
["[", "]"],
["(", ")"],
["'", "'"],
["\"", "\""],
["`", "`"],
],
"folding": {
"markers": {
"start": "^\\s*(?:<[%?][_-#]?(?:\\s*#)?region\\b.*[_-#]?[%?]>|<!--\\s*#region\\b.*-->)",
"end": "^\\s*(?:<[%?][_-#]?(?:\\s*#)?endregion\\b.*[_-#]?[%?]>|<!--\\s*#endregion\\b.*-->)",
}
}
}

+ 69
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/package.json View File

@ -0,0 +1,69 @@
{
"name": "javascript-ejs-support",
"displayName": "EJS language support",
"description": "2019 - EJS language support for Visual Studio Code.",
"version": "1.3.1",
"license": "MIT",
"icon": "assets/icon.png",
"publisher": "DigitalBrainstem",
"author": {
"name": "Derek Thomas",
"email": "Derek@digitalbrainstem.com"
},
"engines": {
"vscode": "^0.10.x"
},
"categories": [
"Programming Languages"
],
"keywords": [
"EJS",
"embedded javascript",
"syntax highlighting"
],
"contributes": {
"grammars": [
{
"scopeName": "text.html.ejs",
"path": "./syntaxes/ejs.json",
"injectTo": [
"text.html"
],
"embeddedLanguages": {
"meta.embedded.block.ejs": "ejs",
"meta.embedded.block.javascript": "source.js"
}
}
],
"snippets": [
{
"language": "html",
"path": "./snippets/snippets.json"
}
],
"configurationDefaults": {
"files.associations": {
"*.ejs": "html"
},
"emmet.includeLanguages": {
"ejs": "html"
}
}
},
"bugs": {
"url": "https://github.com/Digitalbrainstem/ejs-grammar/issues",
"email": "help@digitalbrainstem.com"
},
"repository": {
"type": "git",
"url": "https://github.com/Digitalbrainstem/ejs-grammar.git"
},
"__metadata": {
"id": "DigitalBrainstem.javascript-ejs-support",
"publisherId": "DigitalBrainstem",
"publisherDisplayName": "DigitalBrainstem"
},
"devDependencies": {
"vscode": "^1.1.36"
}
}

+ 173
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/snippets/snippets.json View File

@ -0,0 +1,173 @@
{
"EJS No Output": {
"prefix": "ejs",
"body": [
"<% $1 %> $2"
],
"description": "EJS No Output"
},
"EJS Output Value": {
"prefix": "ejsout",
"body": [
"<%= $1 %> $2"
],
"description": "EJS outputs no value"
},
"EJS Output Escaped": {
"prefix": "ejsesc",
"body": [
"<%- $1 %> $2"
],
"description": "EJS outputs value"
},
"EJS Comment": {
"prefix": "ejscom",
"body": [
"<%# $1 %> $2"
],
"description": "EJS comment tag with no output"
},
"EJS Literal": {
"prefix": "ejslit",
"body": [
"<%% $1 %> $2"
],
"description": "EJS outputs a literal '<%'"
},
"EJS Include": {
"prefix": "ejsinc",
"body": [
"<% include $1 %> $2"
],
"description": "EJS include statement"
},
"EJS For Loop": {
"prefix": "ejsfor",
"body": [
"<% for( let ${1:index} = 0; ${1:index} < ${2:array}.length; ${1:index}++ ) { %>",
"$3",
"<% } %>"
],
"description": "EJS For Loop"
},
"EJS ForEach": {
"prefix": "ejseach",
"body": [
"<% ${1:array}.forEach(${2:element} => { %>",
" $3",
"<% }) %>"
],
"description": "EJS ForEach Loop"
},
"EJS If Statement": {
"prefix": "ejsif",
"body": [
"<% if (${1:condition}) { %>",
" $2",
"<% } %>"
],
"description": "EJS if statement"
},
"EJS Else Statement": {
"prefix": "ejselse",
"body": [
"<% } else { %>",
" $1"
],
"description": "EJS if statement"
},
"EJS Else If Statement": {
"prefix": "ejselif",
"body": [
"<% } else if ({$1:condition}) { %>",
" $2"
],
"description": "EJS if statement"
},
"EJS TAG": {
"prefix": "<%",
"body": [
"<% $1 %> $2"
],
"description": "EJS No Output"
},
"EJS TAG Output Value": {
"prefix": "<%=",
"body": [
"<%= $1 %> $2"
],
"description": "EJS outputs no value"
},
"EJS TAG Output Escaped": {
"prefix": "<%-",
"body": [
"<%- $1 %> $2"
],
"description": "EJS outputs value"
},
"EJS TAG Comment": {
"prefix": "<%#",
"body": [
"<%# $1 %> $2"
],
"description": "EJS comment tag with no output"
},
"EJS TAG Literal": {
"prefix": "<%%",
"body": [
"<%% $1 %> $2"
],
"description": "EJS outputs a literal '<%'"
},
"EJS TAG Include": {
"prefix": "<% ",
"body": [
"<% include $1 %> $2"
],
"description": "EJS include statement"
},
"EJS TAG For Loop": {
"prefix": "<% ",
"body": [
"<% for( let ${1:index} = 0; ${1:index} < ${2:array}.length; ${1:index}++ ) { %>",
"$3",
"<% } %>"
],
"description": "EJS For Loop"
},
"EJS TAG ForEach": {
"prefix": "<% ",
"body": [
"<% ${1:array}.forEach(${2:element} => { %>",
" $3",
"<% }) %>"
],
"description": "EJS ForEach Loop"
},
"EJS TAG If Statement": {
"prefix": "<% ",
"body": [
"<% if (${1:condition}) { %>",
" $2",
"<% } %>"
],
"description": "EJS if statement"
},
"EJS TAG Else Statement": {
"prefix": "<% ",
"body": [
"<% } else { %>",
" $1"
],
"description": "EJS if statement"
},
"EJS TAG Else If Statement": {
"prefix": "<% ",
"body": [
"<% } else if ({$1:condition}) { %>",
" $2"
],
"description": "EJS if statement"
}
}

+ 33
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/syntaxes/ejs-nested.json View File

@ -0,0 +1,33 @@
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"scopeName": "text.html.ejs.override-js",
"injectionSelector": "L:text.html.ejs (* - meta.embedded.block.html) meta.block.js - (comment.block, text.html.ejs.override-js)",
"patterns": [
{
"begin": "[_-]?(%|\\?)(>)",
"beginCaptures": {
"0": {
"name": "punctuation.definition.tag.end.ejs"
},
"1": {
"name": "text.html.ejs.override-js"
}
},
"end": "(<)(%|\\?)(?![%#])[_=-]?",
"endCaptures": {
"0": {
"name": "punctuation.definition.tag.begin.ejs"
},
"1": {
"name": "text.html.ejs.override-js"
}
},
"contentName": "text.html.ejs.override-js",
"patterns": [
{
"include": "text.html.ejs"
}
]
}
]
}

+ 167
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/syntaxes/ejs.json View File

@ -0,0 +1,167 @@
{
"name": "Embedded Javascript",
"scopeName": "text.html.ejs",
"injectionSelector": "L:text.html",
"patterns": [
{
"include": "#tag-block-comment"
},
{
"include": "#tag-single-line-section-comment"
},
{
"include":"#tag-section-comment"
},
{
"include":"#tag-ejs-single-line"
},
{
"include":"#tag-ejs-multi-line"
}
],
"repository": {
"tag-block-comment": {
"begin": "<[%?]#",
"beginCaptures": {
"0": {
"name": "punctuation.definition.comment.ejs"
}
},
"end": "[%?]>",
"endCaptures": {
"0": {
"name": "punctuation.definition.comment.ejs"
}
},
"name": "comment.block.ejs"
},
"tag-single-line-section-comment": {
"begin": "(<[%?](?:(?!php))[%_=-]?)\\s*((\/\\*)(.*)(\\*\/))(?=(\\s*([%?]>)))",
"captures": {
"1": {
"name": "keyword.operator.relational.js"
},
"3": {
"name": "punctuation.definition.comment.ejs"
},
"5": {
"name": "punctuation.definition.comment.ejs"
},
"2": {
"name": "comment.block.ejs"
}
},
"end": "([%?]>)",
"endCaptures": {
"1": {
"name": "keyword.operator.relational.js"
}
},
"contentName": "comment.block.ejs",
"name":"meta.block.single.comment.ejs"
},
"tag-section-comment": {
"name":"comment.block.ejs",
"begin":"(<[%?](?:(?!php)))\\s*((?=(\/\\*)))",
"beginCaptures": {
"1": {
"name": "keyword.operator.relational.js"
}
},
"end": "(\\*\/)\\s*([%?]>)",
"endCaptures": {
"1": {
"name": "punctuation.definition.comment.ejs"
},
"2": {
"name": "keyword.operator.relational.js"
}
},
"patterns":[
{
"name":"ejs-end-tag",
"match":"([%?]>)",
"captures":{
"1":{
"name":"keyword.operator.relational.js"
}
}
},
{
"name":"ejs-begin-tag",
"match":"(<[%?](?:(?!php)))",
"captures":{
"1":{
"name":"keyword.operator.relational.js"
}
}
},
{
"include":"text.html.ejs"
}
]
},
"tag-ejs-single-line": {
"name": "meta.tag.metadata.script.ejs",
"begin":"(<[%?](?:(?!php))[%_=-]?)(?!(\\s*\\*\/))(((?!([_-]?[%?]>)).)+)(?=([_-]?[%?]>))",
"beginCaptures": {
"0": {
"contentName":"source.js",
"name": "meta.embedded.*"
},
"1": {
"name": "keyword.operator.relational.js"
},
"3": {
"name": "meta.embedded.ejs",
"contentName": "source.js",
"patterns":[
{
"include":"source.js"
}
]
},
"6": {
"name": "keyword.operator.relational.js"
}
},
"end": "(([_-]?[%?]>))",
"endCaptures": {
"1": {
"name": "keyword.operator.relational.js"
}
}
},
"tag-ejs-multi-line": {
"contentName":"source.js",
"name": "meta.block.ejs",
"begin":"(<[%?](?:(?!php))[%_=-]?)(?!(\\s*\\*\/))",
"beginCaptures": {
"1": {
"name": "keyword.operator.relational.js"
},
"3": {
"name": "meta.embedded.ejs",
"contentName": "source.js",
"patterns":[
{
"include":"source.js"
}
]
}
},
"end": "(([_-]?[%?]>))",
"endCaptures": {
"1": {
"name": "keyword.operator.relational.js"
}
},
"patterns":[
{
"include":"source.js"
}
]
}
}
}

+ 597
- 0
extensions/digitalbrainstem.javascript-ejs-support-1.3.1/yarn.lock View File

@ -0,0 +1,597 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
agent-base@4, agent-base@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee"
integrity sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==
dependencies:
es6-promisify "^5.0.0"
ajv@^6.5.5:
version "6.12.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.0.tgz#06d60b96d87b8454a5adaba86e7854da629db4b7"
integrity sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==
dependencies:
fast-deep-equal "^3.1.1"
fast-json-stable-stringify "^2.0.0"
json-schema-traverse "^0.4.1"
uri-js "^4.2.2"
asn1@~0.2.3:
version "0.2.4"
resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136"
integrity sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==
dependencies:
safer-buffer "~2.1.0"
assert-plus@1.0.0, assert-plus@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525"
integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=
asynckit@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
integrity sha1-x57Zf380y48robyXkLzDZkdLS3k=
aws-sign2@~0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8"
integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=
aws4@^1.8.0:
version "1.9.1"
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.9.1.tgz#7e33d8f7d449b3f673cd72deb9abdc552dbe528e"
integrity sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==
balanced-match@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
bcrypt-pbkdf@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e"
integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=
dependencies:
tweetnacl "^0.14.3"
brace-expansion@^1.1.7:
version "1.1.11"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
dependencies:
balanced-match "^1.0.0"
concat-map "0.0.1"
browser-stdout@1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60"
integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==
buffer-from@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==
caseless@~0.12.0:
version "0.12.0"
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
combined-stream@^1.0.6, combined-stream@~1.0.6:
version "1.0.8"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
dependencies:
delayed-stream "~1.0.0"
commander@2.15.1:
version "2.15.1"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f"
integrity sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==
concat-map@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
core-util-is@1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
dashdash@^1.12.0:
version "1.14.1"
resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"
integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=
dependencies:
assert-plus "^1.0.0"
debug@3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==
dependencies:
ms "2.0.0"
debug@^3.1.0:
version "3.2.6"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==
dependencies:
ms "^2.1.1"
delayed-stream@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk=
diff@3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==
ecc-jsbn@~0.1.1:
version "0.1.2"
resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9"
integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=
dependencies:
jsbn "~0.1.0"
safer-buffer "^2.1.0"
es6-promise@^4.0.3:
version "4.2.8"
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a"
integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==
es6-promisify@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203"
integrity sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=
dependencies:
es6-promise "^4.0.3"
escape-string-regexp@1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
extend@~3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==
extsprintf@1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
integrity sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=
extsprintf@^1.2.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f"
integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8=
fast-deep-equal@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4"
integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==
fast-json-stable-stringify@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==
forever-agent@~0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=
form-data@~2.3.2:
version "2.3.3"
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6"
integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==
dependencies:
asynckit "^0.4.0"
combined-stream "^1.0.6"
mime-types "^2.1.12"
fs.realpath@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
getpass@^0.1.1:
version "0.1.7"
resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa"
integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=
dependencies:
assert-plus "^1.0.0"
glob@7.1.2:
version "7.1.2"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
integrity sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.4"
once "^1.3.0"
path-is-absolute "^1.0.0"
glob@^7.1.2:
version "7.1.6"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.4"
once "^1.3.0"
path-is-absolute "^1.0.0"
growl@1.10.5:
version "1.10.5"
resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"
integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==
har-schema@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"
integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=
har-validator@~5.1.3:
version "5.1.3"
resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080"
integrity sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==
dependencies:
ajv "^6.5.5"
har-schema "^2.0.0"
has-flag@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
he@1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
integrity sha1-k0EP0hsAlzUVH4howvJx80J+I/0=
http-proxy-agent@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405"
integrity sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==
dependencies:
agent-base "4"
debug "3.1.0"
http-signature@~1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
integrity sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=
dependencies:
assert-plus "^1.0.0"
jsprim "^1.2.2"
sshpk "^1.7.0"
https-proxy-agent@^2.2.1:
version "2.2.4"
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz#4ee7a737abd92678a293d9b34a1af4d0d08c787b"
integrity sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==
dependencies:
agent-base "^4.3.0"
debug "^3.1.0"
inflight@^1.0.4:
version "1.0.6"
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=
dependencies:
once "^1.3.0"
wrappy "1"
inherits@2:
version "2.0.4"
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
is-typedarray@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
isstream@~0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=
jsbn@~0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM=
json-schema-traverse@^0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==
json-schema@0.2.3:
version "0.2.3"
resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13"
integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=
json-stringify-safe@~5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=
jsprim@^1.2.2:
version "1.4.1"
resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2"
integrity sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=
dependencies:
assert-plus "1.0.0"
extsprintf "1.3.0"
json-schema "0.2.3"
verror "1.10.0"
mime-db@1.43.0:
version "1.43.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58"
integrity sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ==
mime-types@^2.1.12, mime-types@~2.1.19:
version "2.1.26"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06"
integrity sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ==
dependencies:
mime-db "1.43.0"
minimatch@3.0.4, minimatch@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
dependencies:
brace-expansion "^1.1.7"
minimist@0.0.8:
version "0.0.8"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
mkdirp@0.5.1:
version "0.5.1"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=
dependencies:
minimist "0.0.8"
mocha@^5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.2.0.tgz#6d8ae508f59167f940f2b5b3c4a612ae50c90ae6"
integrity sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==
dependencies:
browser-stdout "1.3.1"
commander "2.15.1"
debug "3.1.0"
diff "3.5.0"
escape-string-regexp "1.0.5"
glob "7.1.2"
growl "1.10.5"
he "1.1.1"
minimatch "3.0.4"
mkdirp "0.5.1"
supports-color "5.4.0"
ms@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=
ms@^2.1.1:
version "2.1.2"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
oauth-sign@~0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==
once@^1.3.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
dependencies:
wrappy "1"
path-is-absolute@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
performance-now@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
psl@^1.1.28:
version "1.8.0"
resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==
punycode@^2.1.0, punycode@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
qs@~6.5.2:
version "6.5.2"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==
querystringify@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.1.tgz#60e5a5fd64a7f8bfa4d2ab2ed6fdf4c85bad154e"
integrity sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA==
request@^2.88.0:
version "2.88.2"
resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"
integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
dependencies:
aws-sign2 "~0.7.0"
aws4 "^1.8.0"
caseless "~0.12.0"
combined-stream "~1.0.6"
extend "~3.0.2"
forever-agent "~0.6.1"
form-data "~2.3.2"
har-validator "~5.1.3"
http-signature "~1.2.0"
is-typedarray "~1.0.0"
isstream "~0.1.2"
json-stringify-safe "~5.0.1"
mime-types "~2.1.19"
oauth-sign "~0.9.0"
performance-now "^2.1.0"
qs "~6.5.2"
safe-buffer "^5.1.2"
tough-cookie "~2.5.0"
tunnel-agent "^0.6.0"
uuid "^3.3.2"
requires-port@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=
safe-buffer@^5.0.1, safe-buffer@^5.1.2:
version "5.2.0"
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519"
integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==
safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0:
version "2.1.2"
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
semver@^5.4.1:
version "5.7.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
source-map-support@^0.5.0:
version "0.5.16"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042"
integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==
dependencies:
buffer-from "^1.0.0"
source-map "^0.6.0"
source-map@^0.6.0:
version "0.6.1"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
sshpk@^1.7.0:
version "1.16.1"
resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877"
integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==
dependencies:
asn1 "~0.2.3"
assert-plus "^1.0.0"
bcrypt-pbkdf "^1.0.0"
dashdash "^1.12.0"
ecc-jsbn "~0.1.1"
getpass "^0.1.1"
jsbn "~0.1.0"
safer-buffer "^2.0.2"
tweetnacl "~0.14.0"
supports-color@5.4.0:
version "5.4.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54"
integrity sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==
dependencies:
has-flag "^3.0.0"
tough-cookie@~2.5.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==
dependencies:
psl "^1.1.28"
punycode "^2.1.1"
tunnel-agent@^0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"
integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=
dependencies:
safe-buffer "^5.0.1"
tweetnacl@^0.14.3, tweetnacl@~0.14.0:
version "0.14.5"
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=
uri-js@^4.2.2:
version "4.2.2"
resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0"
integrity sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==
dependencies:
punycode "^2.1.0"
url-parse@^1.4.4:
version "1.4.7"
resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.4.7.tgz#a8a83535e8c00a316e403a5db4ac1b9b853ae278"
integrity sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg==
dependencies:
querystringify "^2.1.1"
requires-port "^1.0.0"
uuid@^3.3.2:
version "3.4.0"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
verror@1.10.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400"
integrity sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=
dependencies:
assert-plus "^1.0.0"
core-util-is "1.0.2"
extsprintf "^1.2.0"
vscode-test@^0.4.1:
version "0.4.3"
resolved "https://registry.yarnpkg.com/vscode-test/-/vscode-test-0.4.3.tgz#461ebf25fc4bc93d77d982aed556658a2e2b90b8"
integrity sha512-EkMGqBSefZH2MgW65nY05rdRSko15uvzq4VAPM5jVmwYuFQKE7eikKXNJDRxL+OITXHB6pI+a3XqqD32Y3KC5w==
dependencies:
http-proxy-agent "^2.1.0"
https-proxy-agent "^2.2.1"
vscode@^1.1.36:
version "1.1.36"
resolved "https://registry.yarnpkg.com/vscode/-/vscode-1.1.36.tgz#5e1a0d1bf4977d0c7bc5159a9a13d5b104d4b1b6"
integrity sha512-cGFh9jmGLcTapCpPCKvn8aG/j9zVQ+0x5hzYJq5h5YyUXVGa1iamOaB2M2PZXoumQPES4qeAP1FwkI0b6tL4bQ==
dependencies:
glob "^7.1.2"
mocha "^5.2.0"
request "^2.88.0"
semver "^5.4.1"
source-map-support "^0.5.0"
url-parse "^1.4.4"
vscode-test "^0.4.1"
wrappy@1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=

+ 1
- 0
extensions/esbenp.prettier-vscode-6.3.2/.husky/.gitignore View File

@ -0,0 +1 @@
_

+ 4
- 0
extensions/esbenp.prettier-vscode-6.3.2/.husky/pre-commit View File

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn lint-staged

+ 1
- 0
extensions/esbenp.prettier-vscode-6.3.2/.nvmrc View File

@ -0,0 +1 @@
lts/*

+ 44
- 0
extensions/esbenp.prettier-vscode-6.3.2/.vsixmanifest View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Language="en-US" Id="prettier-vscode" Version="6.3.2" Publisher="esbenp"/>
<DisplayName>Prettier - Code formatter</DisplayName>
<Description xml:space="preserve">Code formatter using prettier</Description>
<Tags>multi-root ready,prettier,formatter,javascript,js,jsx,flow,typescript,ts,json,css,less,scss,styled-components,styled-jsx,markdown,md,commonmark,mdx,php,pug,ruby,swift,html,vue,angular,graphql,yaml,yml,ignore,__ext_graphql,__ext_vue</Tags>
<Categories>Formatters</Categories>
<GalleryFlags>Public</GalleryFlags>
<Badges></Badges>
<Properties>
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="^1.53.0" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionDependencies" Value="" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionPack" Value="" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionKind" Value="workspace" />
<Property Id="Microsoft.VisualStudio.Code.LocalizedLanguages" Value="" />
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/prettier/prettier-vscode.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Getstarted" Value="https://github.com/prettier/prettier-vscode.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.GitHub" Value="https://github.com/prettier/prettier-vscode.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Support" Value="https://github.com/prettier/prettier-vscode/issues" />
<Property Id="Microsoft.VisualStudio.Services.Links.Learn" Value="https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode" />
<Property Id="Microsoft.VisualStudio.Services.Branding.Color" Value="#ffe04b" />
<Property Id="Microsoft.VisualStudio.Services.Branding.Theme" Value="light" />
<Property Id="Microsoft.VisualStudio.Services.GitHubFlavoredMarkdown" Value="true" />
</Properties>
<License>extension/LICENSE.txt</License>
<Icon>extension/icon.png</Icon>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Code"/>
</Installation>
<Dependencies/>
<Assets>
<Asset Type="Microsoft.VisualStudio.Code.Manifest" Path="extension/package.json" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Content.Details" Path="extension/README.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Content.Changelog" Path="extension/CHANGELOG.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Content.License" Path="extension/LICENSE.txt" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Icons.Default" Path="extension/icon.png" Addressable="true" />
</Assets>
</PackageManifest>

+ 471
- 0
extensions/esbenp.prettier-vscode-6.3.2/CHANGELOG.md View File

@ -0,0 +1,471 @@
# Change Log
All notable changes to the "prettier-vscode" extension will be documented in this file.
<!-- Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. -->
## [6.3.2]
- Removed loading status bar state
## [6.3.1]
- Updates to formatter registration
## [6.3.0]
- Removed notifications, all messages logged with status icon update.
## [6.2.1]
- Fixed regressions where VS Code settings `settings.json` could not be formatted
## [6.2.0]
- Stable 6.0 release, see Beta releases for changes
## [6.1.0] Beta
- Added command to force formatting regardless of ignores `Format Document (Forced)`
## [6.0.0] Beta
- Automatically detect package manager
- Delayed prettier registration to improve performance on large projects
- Status bar state and icons updates
- Prompt to allow Prettier module to load
- Added debug mode for logging
- Removed config for `disabledLanguages`
## [5.9.2]
- Reverted automatical detection of package manager
## [5.9.1]
- Removed Status bar color
## [5.9.0]
- Automatically detect package manager
- Move check mark in status bar to left side to match ESLint
- Status bar background to `statusBarItem.errorBackground` color on error
## [5.8.0]
- Updated prettier to 2.2.0
## [5.7.2]
- Updated prettier to 2.1.2
## [5.7.1]
- Log the location of the prettier config file
## [5.7.0]
- Updated prettier to 2.1.1
## [5.6.0]
- Activation on `onStartupFinished` to reduce impact on VS Code start.
## [5.5.0]
- Added [enable](https://github.com/prettier/prettier-vscode#enable) setting.
## [5.4.0]
- Added [Embedded Language Formatting](https://prettier.io/docs/en/options.html#embedded-language-formatting) option.
- Throttling of reloads on watched files to improve performance on large projects.
## [5.3.0]
- Refactoring of how the extension registers formatters to support file extension that don't have a language ID.
- Added support for [custom document selectors](https://github.com/prettier/prettier-vscode#prettierdocumentselectors) to provide formatting on custom languages/extensions.
## [5.2.1]
- Support for additional configuration file extensions (`toml`, `cls`).
## [5.2.0]
- Updated prettier to 2.1.0
## [5.1.3]
- Improved error output of certain plugin exceptions.
## [5.1.2]
- Added error logging for unusual prettier exceptions.
## [5.1.0]
- Resolves issue where untitled JSON files were resolved to `json-stringify` parser. (#1435)
## [5.0.1]
- Updated modules
- New build process
## [5.0.0]
- Removed support for legacy linter integration. [See documentation](https://github.com/prettier/prettier-vscode#linter-integration) on how to configure linters.
## [4.7.0]
- Adds support for formatting VS Code settings files (settings.json). (#1343)
## [4.6.0]
- Update loading implicit Prettier dep from `node_modules` to only occur if explicit `package.json` dep is not found in a parent directory
- Show a custom error message / notification in the case where `prettier.prettierPath` does not reference an instance of Prettier
## [4.5.0]
- Updated prettier to 2.0.5
## [4.4.0]
- Reverted change that attempts to resolve config based on prettier version.
## [4.3.0]
- Removed AppInsights telemetry as its no longer needed
- Updated instructions on how to use linters
- Added log warning about legacy linter integrations
## [4.2.0]
- Use default configuration based on the version of prettier
## [4.1.1]
- Updated prettier to 2.0.4
## [4.1.0]
- Support loading Prettier from `node_modules` even if it doesn't appear as a direct dependency in a `package.json`
- Honor project-scoped config when loading module (#1222, [#950](https://github.com/prettier/prettier-vscode/issues/950))
- Added configuration option `withNodeModules` to enable processing of files in the `node_modules` folder
- Updated prettier to 2.0.3 (#1289)
## [4.0.0]
- Updated prettier to 2.0 - [See changes here](https://prettier.io/blog/2020/03/21/2.0.0.html)
- Change default configuration for `trailingComma` to `es5` to match Prettier 2.0
- Change default configuration for `arrowParens` to `always` to match Prettier 2.0
- Change default configuration for `endOfLine` to `lf` to match Prettier 2.0
- Updated module dependencies
- Removed deprecated configuration options
## [3.20.0]
- No longer loads prettier when `requireConfig` is `true` and no config is found. (#1161)
- Minor logging improvements
## [3.19.0]
- Notifications only show when running formatter
- Removed logs for status bar events
## [3.18.0]
- Fixed a bug with the prettier output open command
- Upgraded module dependencies
## [3.17.0]
- Due to performance issues, global module resolution is now off by default. Enable by setting `prettier.resolveGlobalModules` to `true`
## [3.16.0]
- Show error when prettier configuration file is invalid
- Removed unused debug tracer on module resolution
## [3.15.0]
- Always format untitled files, even when `requireConfig` setting is enabled
## [3.14.0]
- Fixed an issue with global module resolution
## [3.13.0]
- Added support for global module resolution
- Added setting `packageManager` to determine which package manager to use for global module resolution
- Fixed issue where unsaved HTML files were resolved as Angular
## [3.12.0]
- Reverted range filter on formatter registration due to problems, needs more investigation
- Added additional details to description of `requireConfiguration` option
## [3.11.0]
- Additional logging for errors loading config
- Updated status icon to not error states
## [3.10.0]
- Added setting `prettier.useEditorConfig` (defaults to `true`) to allow disabling resolving `.editorconfig` for Prettier config
- Added additional logging
- Added `pattern` filter to formatter registrations to avoid registering incorrectly on multi-workspace projects
- Removed some unused localization code
## [3.9.0]
- Improved error logging.
- Bumped dependencies and type definitions to latest
- More information in readme about configuration
## [3.8.0]
- Fixed issue where VS Code and local config where merged. If local config is present, only it will be used. [#1074](https://github.com/prettier/prettier-vscode/issues/1074)
## [3.7.0]
- Removed deprecation message from `requireConfig` (Was added by mistake). [#1056](https://github.com/prettier/prettier-vscode/issues/1056)
- Sets `resolveConfig: true` to allow parser overrides on [Prettier 1.19+](https://prettier.io/blog/2019/11/09/1.19.0.html#api). [#1067](https://github.com/prettier/prettier-vscode/issues/1067)
- Fix for finding local `prettier` module in packages located in `node_modules` dirs
- Added doc on what languages support range formatting
## [3.6.0]
- Added back status bar button
## [3.5.1]
- Add command `Prettier: Create Configuration File` to create a basic `.prettierrc` file
## [3.5.0]
- Fixed issue resolving user home files on mac. i.e. (`~/.prettierrc`) (#1045)
- Improved tests for config resolution
## [3.4.0]
- Adds back VS Code config
## [3.3.0]
- Bug fixes
- Change telemetry metric names
## [3.2.0]
- Removed support for Prettier versions older than 1.13.0.
- No longer bundling linters with extension - to use install them in your package.json.
- Use Prettier as default resolver of formatter instead of VS Code.
- Use Prettier to determine if a file is ignored or not instead of custom logic.
- Support for formatting of untitled files when the language is set by VS Code.
- Set file path config on format to assist with parser resolution.
- Less fallbacks - if you have local prettier installed it will always use that. Before if your local prettier didn't support things we would fall back to bundled prettier - this caused many errors and inconsistent behavior.
- Removed toolbar button.
- Deprecated linter configuration settings.
- Enhanced logging.
- Extension built with webpack.
- Memoize package path lookup to improve perf of repeated calls to same file.
- Shows error message when outdated versions of prettier are used.
- Refreshes modules without restart for cases where prettier version or plugins are installed locally.
- Registers `.graphql` files as `graphql` language in order to provide formatting. (#989)
- Ignore files are only read from the workspace root folder to behave the [same as prettier](https://github.com/prettier/prettier/issues/4081).
- Added configuration option `prettier.prettierPath` to override module resolution.
- Added configuration option `prettier.configPath` to override configuration file resolution.
## [2.3.0]
- Updated VS Code Version to 1.34.0
- Changed App Insights api key
## [2.2.0]
- Added App Insights telemetry to track feature usage.
## [2.1.0]
- Deprecated support for ESLint, TSLint, and Stylelint. [See documentation](https://github.com/prettier/prettier-vscode#linter-integration)
## [1.12.0]
- Fixed issue where error output was used before initialized (#918)
## [1.11.0]
- Localization support for `zh-cn` and `zh-tw`
- Fixed issue where text-fixtures were bundled in the extension.
## [1.10.0]
- Prettier [1.18](https://prettier.io/blog/2019/06/06/1.18.0.html)
- Docs now explain how to lint TypeScript code with ESLint.
- Improve supported language resolution with local Prettier instances
- Prettier Plugin Support
- prettier-eslint 9.0.0
## [1.9.0]
- Prettier [1.17](https://prettier.io/blog/2019/04/12/1.17.0.html)
- New setting `quoteProps`. (prettier 1.17)
## [1.8.0]
- Prettier [1.16](https://prettier.io/blog/2019/01/20/1.16.0.html)
- prettier-tslint 0.4.2
## [1.7.0]
- Validate the `"prettier"` key in `package.json` using the prettier settings schema
- Prettier [1.15](https://prettier.io/blog/2018/11/07/1.15.0.html)
- New options: jsxSingleQuote, htmlWhitespaceSensitivity and endOfLine (More info in readme).
## [1.6.0]
- disableLanguages only in User / Workspace settings (no more in folder settings).It allows to register formatters for every supported language.
- Prettier [1.14](https://prettier.io/blog/2018/07/29/1.14.0.html)
- New option: tslintIntegration (boolean) use `prettier-tslint` instead of `prettier`
## [1.5.0]
- Revert notification popup: remove it.
- fix parser inference
## [1.4.0]
- [prettier 1.13.4](https://prettier.io/blog/2018/05/27/1.13.0.html)
- prettier-stylelint 0.4.2
## [1.3.1]
- [prettier 1.12.1](https://prettier.io/blog/2018/04/11/1.12.0.html)
## [1.3.0]
- [prettier 1.12.0](https://prettier.io/blog/2018/04/11/1.12.0.html)
## [1.2.0]
- [Prettier 1.11.1](https://prettier.io/blog/2018/02/26/1.11.0.html)
## [1.1.3]
- Improve prettier resolution algorithm for monorepos
- prettier-eslint@8.8.1
- `vue` is now disabled by default. Opt-in by removing `vue` from disableLanguages setting
## [1.1.2]
- prettier-eslint@8.3.1 revert previous update
## [1.1.1]
- prettier-eslint@8.7.5
## [1.1.0]
- Disabling a language `disableLanguages` now allows to use an other formatter. NOT when disabling in a sub workspace folder (noop)
- Prettier 1.10, `vue` `jsonc` `postcss` support.
## [1.0.0]
- Prettier 1.9
- New option: requireConfig (boolean) Format only files which have a prettier config (.prettierrc, ...)
- Don't merge editor's options into prettier config
## [0.25.0]
- Multi-root support.
- Removed all `*Enable` settings, these are now inferred from Prettier itself. Use scoped `editor.formatOnSave` to disable formatting some languages on save.
(See README)
- Markdown support
- Prettier 1.8.2
## [0.24.0]
- new setting, ignorePath. Ignore files.
- Eslint now also runs on TypeScript files.
- new setting, stylelintIntegration. prettier + stylelint.
- Prettier 1.7
## [0.23.1]
- Prettier 1.6.1
## [0.23.0]
- Read configuration from files.
- Prettier 1.6
## [0.22.0]
- Changed Status bar: hide/show depending on active editor.
- Fix local resolution.
## [0.21.0]
- Reworked error messages. They are now in a dedicated output channel.
## [0.20.0]
- Prettier 1.5
- Added JSON and GraphQL formatting (Range formatting disabled)
- Disable range formatting with postcss parser (broken)
## [0.19.1]
- Fix sass language id (sass -> scss)
- Update prettier to 1.4.4
- Update prettier-eslint to 6.3.0
## [0.19.0]
- Option to select language ids prettier will run on.
- Prettier 1.4.2
## [0.18.0]
- Prettier 1.4
- Now also formats CSS and TypeScript
- Format Selection highly improved.
## [0.17.0]
- Bump dependencies.
- `jsx` language support in addition to `javascript` and `javascriptreact`.
## [0.16.0]
- New setting eslintIntegration. Use `prettier-eslint` under the hood.
## [0.14.0]
- Bundled with prettier 1.1.0
- New setting `useTabs`. (prettier 1.0)
- New setting `semi`. (prettier 1.0)
## [0.13.0]
- Local prettier has to be _explicitly_ installed (dependencies or devDependencies)
## [0.11.0]
- Resolve 'prettier' against formatted file. Nearest upward _node_modules/prettier_
## [0.10.0]
- New setting `jsxBracketSameLine`. (prettier 0.17.0)
- Changed `trailingComma` setting `['none', 'es5', 'all']` (prettier 0.19.0)
## [0.7.0]
- Removed `Prettier` action.
- Use vscode actions `Format Document` and `Format Selection`.
- Removed `prettier.formatOnSave` setting in favor of the more general setting `editor.formatOnSave`
- Deprecated `useFlowParser` setting. Introduced `parser` setting. (Since prettier 0.0.10)
## [0.1.0]
- Initial release

+ 21
- 0
extensions/esbenp.prettier-vscode-6.3.2/LICENSE.txt View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2017 Esben Petersen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 309
- 0
extensions/esbenp.prettier-vscode-6.3.2/README.md View File

@ -0,0 +1,309 @@
# Prettier Formatter for Visual Studio Code
[Prettier](https://prettier.io/) is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
<p align="center">
<em>
JavaScript
· TypeScript
· Flow
· JSX
· JSON
</em>
<br />
<em>
CSS
· SCSS
· Less
</em>
<br />
<em>
HTML
· Vue
· Angular
</em>
<br />
<em>
GraphQL
· Markdown
· YAML
</em>
<br />
<em>
<a href="https://prettier.io/docs/en/plugins.html">
Your favorite language?
</a>
</em>
</p>
<p align="center">
<a href="https://github.com/prettier/prettier-vscode/actions?query=workflow%3AMain">
<img alt="Build Status" src="https://github.com/prettier/prettier-vscode/workflows/Main/badge.svg?branch=main"></a>
<a href="https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode">
<img alt="VS Code Marketplace Downloads" src="https://img.shields.io/visual-studio-marketplace/d/esbenp.prettier-vscode"></a>
<a href="https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode">
<img alt="VS Code Marketplace Installs" src="https://img.shields.io/visual-studio-marketplace/i/esbenp.prettier-vscode"></a>
<a href="#badge">
<img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"></a>
<a href="https://twitter.com/PrettierCode">
<img alt="Follow Prettier on Twitter" src="https://img.shields.io/twitter/follow/prettiercode.svg?label=follow+prettier&style=flat-square"></a>
</p>
## Installation
Install through VS Code extensions. Search for `Prettier - Code formatter`
[Visual Studio Code Market Place: Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
Can also be installed in VS Code: Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
```
ext install esbenp.prettier-vscode
```
### Default Formatter
To ensure that this extension is used over other extensions you may have installed, be sure to set it as the default formatter in your VS Code settings. This setting can be set for all languages or by a specific language.
```json
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
```
If you want to disable Prettier on a particular language you can either create a `.prettierignore` file or you can use VS Code's `editor.defaultFormatter` settings.
The following will use Prettier for all languages except Javascript.
```json
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": null
}
}
```
The following will use Prettier for only Javascript.
```json
{
"editor.defaultFormatter": null,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
```
Additionally, you can disable format on save for specific languages if you don't want them to be automatically formatted.
```json
{
"[javascript]": {
"editor.formatOnSave": false
}
}
```
### Prettier Resolution
This extension will use prettier from your project's local dependencies (recommended). When the `prettier.resolveGlobalModules` is set to `true` the extension can also attempt to resolve global modules. Should prettier not be installed locally with your project's dependencies or globally on the machine, the version of prettier that is bundled with the extension will be used.
To install prettier in your project and pin its version [as recommended](https://prettier.io/docs/en/install.html), run:
```
npm install prettier -D --save-exact
```
> NOTE: You will be prompted to confirm that you want the extension to load a Prettier module. This is done to ensure that you are not loading a module or script that is not trusted.
### Plugins
This extension supports [Prettier plugins](https://prettier.io/docs/en/plugins.html) when you are using a locally or globally resolved version of prettier. If you have Prettier and a plugin registered in your `package.json`, this extension will attempt to register the language and provide automatic code formatting for the built-in and plugin languages.
## Configuration
There are multiple options for configuring Prettier with this extension. You can use [VS Code settings](#prettier-settings), [prettier configuration files](https://prettier.io/docs/en/configuration.html), or an `.editorconfig` file. The VS Code settings are meant to be used as a fallback and are generally intended only for use on non-project files. **It is recommended that you always include a prettier configuration file in your project specifying all settings for your project.** This will ensure that no matter how you run prettier - from this extension, from the CLI, or from another IDE with Prettier, the same settings will get applied.
Using [Prettier Configuration files](https://prettier.io/docs/en/configuration.html) to set formatting options is the recommended approach. Options are searched recursively down from the file being formatted so if you want to apply prettier settings to your entire project simply set a configuration in the root. Settings can also be configured through VS Code - however, these settings will only apply while running the extension, not when running prettier through the command line.
### Configuring Default Options
Some users may not wish to create a new Prettier config for every project or use the VS Code settings. In order to set a default configuraiton, set [`prettier.configPath`](https://github.com/prettier/prettier-vscode#prettierconfigpath). However, be careful, if this is set this value will always be used and local configuration files will be ignored.
### Visual Studio Code Settings
You can use [VS Code settings](#prettier-settings) to configure prettier. Settings will be read from (listed by priority):
1. [Prettier configuration file](https://prettier.io/docs/en/configuration.html)
1. `.editorconfig`
1. Visual Studio Code Settings (Ignored if any other configuration is present)
> NOTE: If any local configuration file is present (i.e. `.prettierrc`) the VS Code settings will **NOT** be used.
## Usage
### Using Command Palette (CMD/CTRL + Shift + P)
```
1. CMD + Shift + P -> Format Document
OR
1. Select the text you want to Prettify
2. CMD + Shift + P -> Format Selection
```
### Keyboard Shortcuts
Visual Studio Code provides [default keyboard shortcuts](https://code.visualstudio.com/docs/getstarted/keybindings#_keyboard-shortcuts-reference) for code formatting. You can learn about these for each platform in the [VS Code documentation](https://code.visualstudio.com/docs/getstarted/keybindings#_keyboard-shortcuts-reference).
If you don't like the defaults, you can rebind `editor.action.formatDocument` and `editor.action.formatSelection` in the keyboard shortcuts menu of vscode.
### Format On Save
Respects `editor.formatOnSave` setting.
You can turn on format-on-save on a per-language basis by scoping the setting:
```json
// Set the default
"editor.formatOnSave": false,
// Enable per-language
"[javascript]": {
"editor.formatOnSave": true
}
```
### Format Selection
Format selection works on several languages depending on what Prettier itself supports. The following languages currently are supported:
```
javascript
javascriptreact
typescript
typescriptreact
json
graphql
```
### Format Document (Forced)
If you would like to format a document that is configured to be ignored by Prettier either because it is in a `.prettierignore` file or part of a normally excluded location like `node_modules`, you can run the command **Format Document (Forced)** to force the document to be formatted.
## Linter Integration
The recommended way of integrating with linters is to let Prettier do the formatting and configure the linter to not deal with formatting rules. You can find instructions on how to configure each linter on the Prettier docs site. You can then use each of the linting extensions as you normally would. For details refere to the [Prettier documentation](https://prettier.io/docs/en/integrating-with-linters.html).
## Settings
### Prettier Settings
All prettier options can be configured directly in this extension. These settings are used as a fallback when no configuration file is present in your project, see the [configuration](#configuration) section of this document for more details. For reference on the options see the [prettier documentation](https://prettier.io/docs/en/options.html).
> The default values of these configurations are always to their Prettier 2.0 defaults. In order to use defaults from earlier versions of prettier you must set them manually using your VS Code settings or local project configurations.
```
prettier.arrowParens
prettier.bracketSpacing
prettier.endOfLine
prettier.htmlWhitespaceSensitivity
prettier.insertPragma
prettier.jsxBracketSameLine
prettier.jsxSingleQuote
prettier.printWidth
prettier.proseWrap
prettier.quoteProps
prettier.requirePragma
prettier.semi
prettier.singleQuote
prettier.tabWidth
prettier.trailingComma
prettier.useTabs
prettier.vueIndentScriptAndStyle
prettier.embeddedLanguageFormatting
```
### Extension Settings
These settings are specific to VS Code and need to be set in the VS Code settings file. See the [documentation](https://code.visualstudio.com/docs/getstarted/settings) for how to do that.
#### prettier.enable (default: `true`)
Controls whether prettier is enabled or not. You must restart VS Code when you change this setting.
#### prettier.requireConfig (default: `false`)
Require a prettier configuration file to format files. Untitled files will still be formatted using the VS Code Prettier configuration even with this option set to `true`.
#### prettier.ignorePath (default: `.prettierignore`)
Supply the path to an ignore file such as `.gitignore` or `.prettierignore`.
Files which match will not be formatted. Set to `null` to not read ignore files.
**Note, if this is set, this value will always be used and local ignore files will be ignored.**
#### prettier.configPath
Supply a custom path to the prettier configuration file.
**Note, if this is set, this value will always be used and local configuration files will be ignored. A better option for global defaults is to put a `~/.prettierrc` file in your home directory.**
#### prettier.prettierPath
Supply a custom path to the prettier module. This path should be to the module folder, not the bin/script path. i.e. `./node_modules/prettier`, not `./bin/prettier`.
#### prettier.resolveGlobalModules (default: `false`)
When enabled, this extension will attempt to use global npm or yarn modules if local modules cannot be resolved.
> NOTE: This setting can have a negative performance impact, particularly on Windows when you have attached network drives. Only enable this if you must use global modules. It is recommended that you always use local modules when possible.
**Note: Disabling a language enabled in a parent folder will prevent formatting instead of letting any other formatter to run**
#### prettier.documentSelectors
A list of [glob patterns](https://code.visualstudio.com/api/references/vscode-api#GlobPattern) to register Prettier formatter. Typically these will be in the format of `**/*.abc` to tell this extension to register itself as the formatter for all files with the `abc` extension. This feature can be useful when you have [overrides](https://prettier.io/docs/en/configuration.html#configuration-overrides) set in your config file to map custom extensions to a parser.
It is likely will need to also update your prettier config. For example, if I register the following document selector by itself, Prettier still won't know what to do with that file. I either need a Prettier extension that formats `.abc` file format or I need to configure Prettier.
```json
{
"prettier.documentSelectors": ["**/*.abc"]
}
```
To tell Prettier how to format a file of type `.abc` I can set an override in the prettier config that makes this file type use the `babel` parser.
```json
{
"overrides": [
{
"files": "*.abc",
"options": {
"parser": "babel"
}
}
]
}
```
#### prettier.useEditorConfig (default: `true`)
Whether or not to take .editorconfig into account when parsing configuration. See the [prettier.resolveConfig docs](https://prettier.io/docs/en/api.html) for details.
#### prettier.withNodeModules (default: `false`)
Whether or not to process files in the `node_modules` folder.
## Error Messages
**Failed to load module. If you have prettier or plugins referenced in package.json, ensure you have run `npm install`**
When a `package.json` is present in your project and it contains prettier, plugins, or linter libraries this extension will attempt to load these modules from your `node_module` folder. If you see this error, it most likely means you need to run `npm install` or `yarn install` to install the packages in your `package.json`.
**Your project is configured to use an outdated version of prettier that cannot be used by this extension. Upgrade to the latest version of prettier.**
You must upgrade to a newer version of prettier.

+ 24
- 0
extensions/esbenp.prettier-vscode-6.3.2/THIRDPARTY.md View File

@ -0,0 +1,24 @@
vscode-go
The MIT License (MIT)
Original Work Copyright (c) 2015-2020 Microsoft Corporation
Current Work and Modifications Copyright (c) 2020-present The Go Authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 2
- 0
extensions/esbenp.prettier-vscode-6.3.2/dist/extension.js
File diff suppressed because it is too large
View File


+ 1
- 0
extensions/esbenp.prettier-vscode-6.3.2/dist/extension.js.map
File diff suppressed because it is too large
View File


BIN
extensions/esbenp.prettier-vscode-6.3.2/icon.png View File

Before After
Width: 128  |  Height: 128  |  Size: 5.3 KiB

+ 9
- 0
extensions/esbenp.prettier-vscode-6.3.2/package-json-schema.json View File

@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"properties": {
"prettier": {
"description": "Prettier configuration",
"$ref": "http://json.schemastore.org/prettierrc"
}
}
}

+ 410
- 0
extensions/esbenp.prettier-vscode-6.3.2/package.json View File

@ -0,0 +1,410 @@
{
"name": "prettier-vscode",
"displayName": "Prettier - Code formatter",
"description": "Code formatter using prettier",
"version": "6.3.2",
"publisher": "esbenp",
"author": "Prettier <@prettiercode>",
"galleryBanner": {
"color": "#ffe04b",
"theme": "light"
},
"homepage": "https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode",
"repository": {
"type": "git",
"url": "https://github.com/prettier/prettier-vscode.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/prettier/prettier-vscode/issues"
},
"engines": {
"vscode": "^1.53.0"
},
"keywords": [
"multi-root ready",
"prettier",
"formatter",
"javascript",
"js",
"jsx",
"flow",
"typescript",
"ts",
"json",
"css",
"less",
"scss",
"styled-components",
"styled-jsx",
"markdown",
"md",
"commonmark",
"mdx",
"php",
"pug",
"ruby",
"swift",
"html",
"vue",
"angular",
"graphql",
"yaml",
"yml"
],
"categories": [
"Formatters"
],
"activationEvents": [
"onStartupFinished"
],
"icon": "icon.png",
"main": "./dist/extension",
"scripts": {
"clean": "node ./scripts/clean.js",
"lint": "eslint -c .eslintrc.js --ext .ts .",
"pretest": "yarn test-compile && cd test-fixtures/plugins && yarn install && cd ../outdated && yarn install && cd ../module && yarn install && cd ../specific-version && yarn install && cd ../explicit-dep && yarn install && cd implicit-dep && yarn install",
"prettier": "prettier --write '**/*.{ts,json,md,yml,js}'",
"test-compile": "yarn clean && tsc -p ./ && yarn webpack",
"test": "node ./out/test/runTests.js",
"version": "node ./scripts/version.js && git add CHANGELOG.md",
"vscode:prepublish": "webpack --mode production",
"watch": "tsc --watch -p ./",
"webpack-dev": "webpack --mode development --watch",
"webpack": "webpack --mode development",
"postinstall": "husky install"
},
"lint-staged": {
"**/*.{ts,json,md,yml,js}": [
"prettier --write"
],
"src/**/*.ts": [
"eslint -c .eslintrc.js --ext .ts ."
]
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/lodash": "^4.14.160",
"@types/mocha": "^8.0.0",
"@types/node": "^12",
"@types/prettier": "^2.1.0",
"@types/resolve": "^1.17.0",
"@types/semver": "^7.3.1",
"@types/sinon": "^9.0.11",
"@types/vscode": "1.53.0",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.3.0",
"eslint": "^7.10.0",
"eslint-config-prettier": "^8.1.0",
"glob": "^7.1.6",
"husky": "^6.0.0",
"lint-staged": "^10.5.3",
"mocha": "^8.0.1",
"sinon": "^10.0.0",
"ts-loader": "^8.0.18",
"typescript": "^4.2.3",
"vsce": "^1.80.0",
"vscode-nls-dev": "^3.3.2",
"vscode-test": "^1.4.0",
"webpack": "^5.24.4",
"webpack-cli": "^4.2.0"
},
"dependencies": {
"find-up": "^5.0.0",
"prettier": "^2.2.1",
"resolve": "^1.17.0",
"semver": "^7.3.4",
"vscode-nls": "^5.0.0"
},
"contributes": {
"configuration": {
"type": "object",
"title": "%ext.config.title%",
"properties": {
"prettier.disableLanguages": {
"type": "array",
"items": {
"type": "string"
},
"deprecationMessage": "%ext.config.disableLanguagesDeprecation%",
"markdownDescription": "%ext.config.disableLanguages%",
"scope": "window"
},
"prettier.documentSelectors": {
"type": "array",
"items": {
"type": "string"
},
"markdownDescription": "%ext.config.documentSelectors%",
"scope": "window"
},
"prettier.enable": {
"type": "boolean",
"default": true,
"markdownDescription": "%ext.config.enable%",
"scope": "resource"
},
"prettier.requireConfig": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.requireConfig%",
"scope": "resource"
},
"prettier.resolveGlobalModules": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.resolveGlobalModules%",
"scope": "resource"
},
"prettier.withNodeModules": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.withNodeModules%",
"scope": "resource"
},
"prettier.packageManager": {
"scope": "resource",
"type": "string",
"enum": [
"npm",
"yarn",
"pnpm"
],
"default": "npm",
"deprecationMessage": "%ext.config.packageManagerDeprecation%",
"markdownDescription": "%ext.config.packageManager%"
},
"prettier.useEditorConfig": {
"type": "boolean",
"default": true,
"markdownDescription": "%ext.config.useEditorConfig%",
"scope": "resource"
},
"prettier.ignorePath": {
"type": "string",
"default": ".prettierignore",
"markdownDescription": "%ext.config.ignorePath%",
"scope": "resource"
},
"prettier.prettierPath": {
"type": "string",
"markdownDescription": "%ext.config.prettierPath%",
"scope": "resource"
},
"prettier.configPath": {
"type": "string",
"markdownDescription": "%ext.config.configPath%",
"scope": "resource"
},
"prettier.enableDebugLogs": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.enableDebugLogs%",
"scope": "resource"
},
"prettier.printWidth": {
"type": "integer",
"default": 80,
"markdownDescription": "%ext.config.printWidth%",
"scope": "resource"
},
"prettier.tabWidth": {
"type": "integer",
"default": 2,
"markdownDescription": "%ext.config.tabWidth%",
"scope": "resource"
},
"prettier.singleQuote": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.singleQuote%",
"scope": "resource"
},
"prettier.trailingComma": {
"type": "string",
"enum": [
"none",
"es5",
"all"
],
"default": "es5",
"markdownDescription": "%ext.config.trailingComma%",
"scope": "resource"
},
"prettier.bracketSpacing": {
"type": "boolean",
"default": true,
"markdownDescription": "%ext.config.bracketSpacing%",
"scope": "resource"
},
"prettier.jsxBracketSameLine": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.jsxBracketSameLine%",
"scope": "resource"
},
"prettier.semi": {
"type": "boolean",
"default": true,
"markdownDescription": "%ext.config.semi%",
"scope": "resource"
},
"prettier.requirePragma": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.requirePragma%",
"scope": "resource"
},
"prettier.insertPragma": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.insertPragma%",
"scope": "resource"
},
"prettier.useTabs": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.useTabs%",
"scope": "resource"
},
"prettier.proseWrap": {
"type": "string",
"enum": [
"preserve",
"always",
"never"
],
"default": "preserve",
"markdownDescription": "%ext.config.proseWrap%",
"scope": "resource"
},
"prettier.arrowParens": {
"type": "string",
"enum": [
"avoid",
"always"
],
"default": "always",
"markdownDescription": "%ext.config.arrowParens%",
"scope": "resource"
},
"prettier.jsxSingleQuote": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.jsxSingleQuote%",
"scope": "resource"
},
"prettier.htmlWhitespaceSensitivity": {
"type": "string",
"enum": [
"css",
"strict",
"ignore"
],
"default": "css",
"markdownDescription": "%ext.config.htmlWhitespaceSensitivity%",
"scope": "resource"
},
"prettier.vueIndentScriptAndStyle": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.vueIndentScriptAndStyle%",
"scope": "resource"
},
"prettier.endOfLine": {
"type": "string",
"enum": [
"auto",
"lf",
"crlf",
"cr"
],
"default": "lf",
"markdownDescription": "%ext.config.endOfLine%",
"scope": "resource"
},
"prettier.quoteProps": {
"type": "string",
"enum": [
"as-needed",
"consistent",
"preserve"
],
"default": "as-needed",
"markdownDescription": "%ext.config.quoteProps%",
"scope": "resource"
},
"prettier.embeddedLanguageFormatting": {
"type": "string",
"enum": [
"auto",
"off"
],
"default": "auto",
"markdownDescription": "%ext.config.embeddedLanguageFormatting%",
"scope": "resource"
}
}
},
"jsonValidation": [
{
"fileMatch": ".prettierrc",
"url": "http://json.schemastore.org/prettierrc"
},
{
"fileMatch": ".prettierrc.json",
"url": "http://json.schemastore.org/prettierrc"
},
{
"fileMatch": "package.json",
"url": "./package-json-schema.json"
}
],
"languages": [
{
"id": "json",
"filenames": [
".prettierrc"
]
},
{
"id": "ignore",
"filenames": [
".prettierignore"
]
},
{
"id": "graphql",
"extensions": [
".graphql"
]
},
{
"id": "vue",
"extensions": [
".vue"
]
}
],
"commands": [
{
"command": "prettier.createConfigFile",
"title": "%ext.command.createConfigFile.title%"
},
{
"command": "prettier.resetModuleExecutionState",
"title": "%ext.command.resetModuleExecutionState.title%"
},
{
"command": "prettier.forceFormatDocument",
"title": "%ext.command.forceFormatDocument.title%",
"when": "editorFocus"
}
]
},
"__metadata": {
"id": "esbenp.prettier-vscode",
"publisherId": "esbenp",
"publisherDisplayName": "esbenp"
}
}

+ 40
- 0
extensions/esbenp.prettier-vscode-6.3.2/package.nls.json View File

@ -0,0 +1,40 @@
{
"ext.command.createConfigFile.title": "Prettier: Create Configuration File",
"ext.command.resetModuleExecutionState.title": "Prettier: Reset Module Execution State",
"ext.command.forceFormatDocument.title": "Format Document (Forced)",
"ext.config.arrowParens": "Include parentheses around a sole arrow function parameter",
"ext.config.bracketSpacing": "Controls the printing of spaces inside object literals",
"ext.config.configPath": "Path to the prettier configuration file",
"ext.config.disableLanguages": "A list of languages IDs to disable this extension on",
"ext.config.disableLanguagesDeprecation": "This feature is no longer supported. Instead, configure VS Code [default formatters](https://github.com/prettier/prettier-vscode#default-formatter) or use .prettierignore.",
"ext.config.documentSelectors": "A list of [glob patterns](https://code.visualstudio.com/api/references/vscode-api#GlobPattern) to register Prettier formatter",
"ext.config.endOfLine": "Specify the end of line used by prettier",
"ext.config.htmlWhitespaceSensitivity": "Specify the global whitespace sensitivity for HTML files.\n Valid options:\n- `css` - Respect the default value of CSS display property.\n- `strict` - Whitespaces are considered sensitive.\n- `ignores` - Whitespaces are considered insensitive.",
"ext.config.ignorePath": "Path to a .prettierignore file",
"ext.config.insertPragma": "Prettier can insert a special @format marker at the top of files specifying that the file has been formatted with prettier. This works well when used in tandem with the `--require-pragma` option. If there is already a docblock at the top of the file then this option will add a newline to it with the @format marker.",
"ext.config.jsxBracketSameLine": "If true, puts the `>` of a multi-line jsx element at the end of the last line instead of being alone on the next line",
"ext.config.jsxSingleQuote": "Use single quotes instead of double quotes in JSX",
"ext.config.packageManager": "The package manager you use to install node modules.",
"ext.config.packageManagerDeprecation": "Package manager is now automatically detected by VS Code. This setting is no longer used.",
"ext.config.parser": "Override the parser. You shouldn't have to change this setting.",
"ext.config.parserDeprecationMessage": "This setting is no longer supported. Use a prettier configuration file instead.",
"ext.config.prettierPath": "Path to the prettier module",
"ext.config.printWidth": "Fit code within this line limit",
"ext.config.proseWrap": "(Markdown) wrap prose over multiple lines",
"ext.config.quoteProps": "Change when properties in objects are quoted",
"ext.config.requireConfig": "Require a prettier configuration file to format. See [documentation for valid configuration files](https://prettier.io/docs/en/configuration.html).\n\n> _Note, untitled files will still be formatted using the VS Code prettier settings even when this setting is set._",
"ext.config.requirePragma": "Prettier can restrict itself to only format files that contain a special comment, called a pragma, at the top of the file. This is very useful when gradually transitioning large, unformatted codebases to prettier.",
"ext.config.resolveGlobalModules": "When enabled, this extension will attempt to use global npm or yarn modules if local modules cannot be resolved.\n> _This setting can have a negative performance impact, particularly on Windows when you have attached network drives. Only enable this if you must use global modules._",
"ext.config.withNodeModules": "If true, this extension will process files in node_modules",
"ext.config.semi": "Whether to add a semicolon at the end of every line",
"ext.config.singleQuote": "If true, will use single instead of double quotes",
"ext.config.tabWidth": "Number of spaces it should use per tab",
"ext.config.title": "Prettier",
"ext.config.trailingComma": "Controls the printing of trailing commas wherever possible. Valid options:\n- `none` - No trailing commas\n- `es5` - Trailing commas where valid in ES5 (objects, arrays, etc)\n- `all` - Trailing commas wherever possible (function arguments)",
"ext.config.useEditorConfig": "Whether or not to take `.editorconfig` into account when parsing configuration. See the [prettier.resolveConfig](https://prettier.io/docs/en/api.html) docs for details.",
"ext.config.useTabs": "Indent lines with tabs",
"ext.config.vueIndentScriptAndStyle": "Whether or not to indent the code inside `<script>` and `<style>` tags in Vue files. Some people (like the creator of Vue) don’t indent to save an indentation level, but this might break code folding in your editor.",
"ext.config.embeddedLanguageFormatting": "Control whether Prettier formats quoted code embedded in the file.",
"ext.config.enable": "Controls whether prettier is enabled or not.",
"ext.config.enableDebugLogs": "Enable debug logs for troubleshooting."
}

+ 21
- 0
extensions/esbenp.prettier-vscode-6.3.2/package.nls.zh-cn.json View File

@ -0,0 +1,21 @@
{
"ext.config.title": "Prettier - 代码格式化配置",
"ext.config.disableLanguages": "用于禁用此扩展的语言ID列表",
"ext.config.requireConfig": "需要 prettier configuration 来格式化",
"ext.config.ignorePath": ".prettierignore或类似文件的路径",
"ext.config.printWidth": "指定每行代码的最佳长度, 如果超出长度则换行。",
"ext.config.tabWidth": "每个制表符占用的空格数",
"ext.config.singleQuote": "如果为 true,将使用单引号而不是双引号",
"ext.config.trailingComma": "尽可能控制尾随逗号的输出。\n有效选项:\n'无' - 无尾随逗号\n' es5' - 在ES5中有效的尾随逗号(对象,数组等)\n 'all' - 尾随逗号 尽可能(函数参数)",
"ext.config.bracketSpacing": "控制对象字面量的空格输出",
"ext.config.jsxBracketSameLine": "如果为 true,则将多行jsx元素的 `>` 放在最后一行的末尾,而不是单独放在下一行",
"ext.config.parser": "覆盖解析器。 您不必更改此设置。",
"ext.config.semi": "是否在每行末尾添加分号",
"ext.config.useTabs": "使用制表符(tab)缩进",
"ext.config.proseWrap": "(Markdown)将散文包含在多行中",
"ext.config.arrowParens": "当箭头函数仅有一个参数时加上括号",
"ext.config.jsxSingleQuote": "在JSX中使用单引号而不是双引号",
"ext.config.htmlWhitespaceSensitivity": "指定HTML文件的全局空白区域敏感度。\n有效选项:\n 'css' - 尊重CSS显示属性的默认值。 \n 'strict' - 空格被认为是敏感的。 \n 'ignore' - 空格被认为是不敏感的。",
"ext.config.endOfLine": "指定 prettier 的换行符",
"ext.config.quoteProps": "Change when properties in objects are quoted"
}

+ 21
- 0
extensions/esbenp.prettier-vscode-6.3.2/package.nls.zh-tw.json View File

@ -0,0 +1,21 @@
{
"ext.config.title": "Prettier - 代碼格式化配置",
"ext.config.disableLanguages": "用於禁用此擴展的語言ID列表",
"ext.config.requireConfig": "需要 'prettierconfig' 來格式化",
"ext.config.ignorePath": ".prettierignore或類似文件的路徑",
"ext.config.printWidth": "指定每行代碼的最佳長度, 如果超出長度則換行。",
"ext.config.tabWidth": "每個製表符佔用的空格數",
"ext.config.singleQuote": "如果為 true,將使用單引號而不是雙引號",
"ext.config.trailingComma": "盡可能控制尾隨逗號的輸出。 \n有效選項:\n'無' - 無尾隨逗號\n'es5' - 在ES5中有效的尾隨逗號(對象,數組等)\n'all' - 尾隨逗號 盡可能(函數參數)",
"ext.config.bracketSpacing": "控制對象字面量的空格輸出",
"ext.config.jsxBracketSameLine": "如果為 true,則將多行jsx元素的 `>` 放在最後一行的末尾,而不是單獨放在下一行",
"ext.config.parser": "覆蓋解析器。您不必更改此設置。",
"ext.config.semi": "是否在每行末尾添加分號",
"ext.config.useTabs": "使用製表符(tab)縮進",
"ext.config.proseWrap": "(Markdown)將散文包含在多行中",
"ext.config.arrowParens": "當箭頭函數僅有一個參數時加上括號",
"ext.config.jsxSingleQuote": "在JSX中使用單引號而不是雙引號",
"ext.config.htmlWhitespaceSensitivity": "指定HTML文件的全局空白區域敏感度。 \n有效選項:\n'css' - 尊重CSS顯示屬性的默認值。 \n'strict' - 空格被認為是敏感的。 \n'ignore' - 空格被認為是不敏感的。",
"ext.config.endOfLine": "指定 prettier 的換行符",
"ext.config.quoteProps": "Change when properties in objects are quoted"
}

+ 42
- 0
extensions/ritwickdey.liveserver-5.6.1/.vsixmanifest View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Language="en-US" Id="LiveServer" Version="5.6.1" Publisher="ritwickdey"/>
<DisplayName>Live Server</DisplayName>
<Description xml:space="preserve">Launch a development local Server with live reload feature for static &amp; dynamic pages</Description>
<Tags>html preview,live preview,live reload,svg preview,open in browser,multi-root ready,keybindings</Tags>
<Categories>Other</Categories>
<GalleryFlags>Public</GalleryFlags>
<Badges></Badges>
<Properties>
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="^1.20.0" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionDependencies" Value="" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionPack" Value="" />
<Property Id="Microsoft.VisualStudio.Code.LocalizedLanguages" Value="" />
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/ritwickdey/vscode-live-server.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Getstarted" Value="https://github.com/ritwickdey/vscode-live-server.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.GitHub" Value="https://github.com/ritwickdey/vscode-live-server.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Support" Value="https://github.com/ritwickdey/vscode-live-server/issues" />
<Property Id="Microsoft.VisualStudio.Services.Links.Learn" Value="https://ritwickdey.github.io/vscode-live-server/" />
<Property Id="Microsoft.VisualStudio.Services.Branding.Color" Value="#41205f" />
<Property Id="Microsoft.VisualStudio.Services.Branding.Theme" Value="dark" />
<Property Id="Microsoft.VisualStudio.Services.GitHubFlavoredMarkdown" Value="true" />
</Properties>
<License>extension/LICENSE.txt</License>
<Icon>extension/images/icon.png</Icon>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Code"/>
</Installation>
<Dependencies/>
<Assets>
<Asset Type="Microsoft.VisualStudio.Code.Manifest" Path="extension/package.json" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Content.Details" Path="extension/README.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Content.Changelog" Path="extension/CHANGELOG.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Content.License" Path="extension/LICENSE.txt" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Icons.Default" Path="extension/images/icon.png" Addressable="true" />
</Assets>
</PackageManifest>

+ 54
- 0
extensions/ritwickdey.liveserver-5.6.1/CHANGELOG.md View File

@ -0,0 +1,54 @@
# Changelog
| Version | Date | Changelog |
|---|---|---|
|5.6.0 | 17.04.19 | &mdash; ***[NEW]*** Intregation of `Browser Preview` with `Live Server` *[[#352](https://github.com/ritwickdey/vscode-live-server/pull/352) - Thanks to [Kenneth Auchenberg](https://github.com/auchenberg) ]* <br><br> &mdash; ***[NEW]*** Fallback to random port If given port is busy. *[[#330](https://github.com/ritwickdey/vscode-live-server/pull/330) - Thanks to [Ali Almohaya](https://github.com/Almo7aya) ] <br><br> &mdash; ***[FIXES]**** Moved to `vscode-chokidar` lib for [#285](https://github.com/ritwickdey/vscode-live-server/issues/285). <br><br> &mdash;Doc Fixes *[[#388](https://github.com/ritwickdey/vscode-live-server/pull/388) - Thanks to [Ted Silbernagel](https://github.com/tedsilb)]*
|5.5.1|12.02.19 | &mdash; ***[Fixes]*** Fixed `Extension host terminated unexpectedly` for MacOS. [[#285](https://github.com/ritwickdey/vscode-live-server/issues/285)]
|5.5.0| 12.02.19 | &mdash; ***[Fixes]*** Fixed `ignoreFiles` settings [[#255](https://github.com/ritwickdey/vscode-live-server/issues/255)] <br> &mdash; Attempt to fix `high cpu load` [[#278](https://github.com/ritwickdey/vscode-live-server/issues/278)]
|5.4.0| 30.01.19 | Bug fix for fsevents on Visual Code Insiders.
|5.3.1| 28.11.18 | Event-Stream Package Security Update.
|5.3.0| 27.11.18 | Few Packages are upgraded.
|5.2.0|16.11.2018| &mdash; ***[Features]*** Live Server + Live Share = 💘. Share your live server over the internet with live reload feature! You'll be prompted to share live server using live server when you click to `Go Live`. *(Thank you so much [Alex Panov](https://github.com/alpaix) for opening PR [#232](https://github.com/ritwickdey/vscode-live-server/pull/232) )* <br> <br> &mdash; ***[Docs fixing / update]*** #170, #185, #201, #233 *(Thanks [Shaurya Shubham](https://github.com/coolshaurya), [Benjamin Vincent](https://github.com/luxcium), [Jan Dittrich](https://github.com/jan-di), [Karsten 7.](https://github.com/Karsten7))*
|5.1.1|20.06.2018|&mdash; Fixed Blank Marketplace's description & changelog Page. |
|5.1.0|20.06.2018|&mdash; ***[Fixes]*** Few Bug fixes for multi-root workspace. <br><br> &mdash;New Browser support for *Blisk* [[#162](https://github.com/ritwickdey/vscode-live-server/pull/162)]<br><br> &mdash;Custom Browser settings is updated. (please check the settings page).|
|5.0.0|15.06.2018| &mdash; ***[New]*** One of the most requested feature is here. **Live Server** 💘 **your multi-root workspace**. Yes, Live Server is now supports vscode multi-root workspace. *[[#151](https://github.com/ritwickdey/vscode-live-server/pull/151)]* <br><br> &mdash; ***[Dropped]*** Previously, Live Server was supported for no workspace (just a single `html` file is opened). This feature is removed. *(In case, you're missing this feature, open an issue request. We love your feedback)* <br><br> &mdash; ***[New]*** New Command is added to change entry point of workspace. `ctrl+shift+p` and type `Live Server: Change Live Server workspace` to change workspace path. *Tips: You don't need to use the command, Live Server is smart enough, it'll eigher ask what you want or automatically set the correct workspace if you right click on a HTML file to start the server*|
|4.0.1|05.06.2018| &mdash; Keybinding has been changed to `alt+L, alt+O` & `alt+L, alt+C` for Windows/Linux & `cmd+L, cmd+O` & `cmd+L, cmd+C` for MAC . [[#121](https://github.com/ritwickdey/vscode-live-server/pull/121)] *(Thanks [Joydip Roy](https://github.com/rjoydip))* <br><br> &mdash; `Stop Live Server` options is added in editor-context menu. <br><br> &mdash; Live Sever Icon is refreshed [[#144](https://github.com/ritwickdey/vscode-live-server/pull/144)] *(Thanks [Pluwen](https://github.com/pluwen))* <br><br> &mdash; TypeScript files are now in default ignore list. [[#125](https://github.com/ritwickdey/vscode-live-server/pull/125)] *(Thanks [Ryan Naddy](https://github.com/TheColorRed))*|
|4.0.0|14.05.2018| &mdash; Integraded Websocket Support. [[#89](https://github.com/ritwickdey/vscode-live-server/pull/89)] <br> &mdash; Now open server with `Local Ip` instead of `127.0.0.1` *(See settings page for more details)* [[#116](https://github.com/ritwickdey/vscode-live-server/pull/116)] <br> &mdash; Availity to hide status bar `Go Live` button. [[#117](https://github.com/ritwickdey/vscode-live-server/pull/117)] <br> &mdash; `file` settings : Path to the entry point `entry point` file. For SPA support. *(See settings page for more details)* [[#118](https://github.com/ritwickdey/vscode-live-server/pull/118)] <br> &mdash; Docs updated. [[#93](https://github.com/ritwickdey/vscode-live-server/pull/93) [#94](https://github.com/ritwickdey/vscode-live-server/pull/94) [#107](https://github.com/ritwickdey/vscode-live-server/pull/107) [#109](https://github.com/ritwickdey/vscode-live-server/pull/109)] <br><br> Thanks to the contributors 💓 who made this possible. [Max Schmitt](https://github.com/mxschmitt), [Joydip Roy](https://github.com/rjoydip), [Jasonalex](https://github.com/jasonalex13), [Douglas Chen](https://github.com/cdswyda), [Bernard Vander Beken](https://github.com/jawn), [Philippe Loctaux](https://github.com/x4m3), [Arshad Hasan](https://github.com/arshadhasan) |
|3.2.1|17.02.2018 | &mdash; Re-deployed to vscode marketplace. For some reason few users are facing `command 'extension.liveServer.goOnline' not found` error. <br/> [[#78](https://github.com/ritwickdey/vscode-live-server/issues/78)] [[#80](https://github.com/ritwickdey/vscode-live-server/issues/80)] [[#78#issuecomment](https://github.com/ritwickdey/vscode-live-server/issues/78#issuecomment-365891533)] [[Tweet](https://twitter.com/mohamed_aladdin/status/962608074212200448)] <br/> *(Still the reason of the error is unknown to me.)* <br/><br/> &mdash; Docs Updated
|3.2.0| 09.02.2018 | &mdash; ***[New Feature [[#72](https://github.com/ritwickdey/vscode-live-server/issues/72)]]*** `liveServer.settings.mount` settings added for mounting a directory to a route (see [settings section](https://github.com/ritwickdey/vscode-live-server/blob/master/docs/settings.md) for more details.) *[Thanks [Douglas Chen](https://github.com/cdswyda) for the [PR#73](https://github.com/ritwickdey/vscode-live-server/pull/73)]* <br> |
|3.1.0| 24.01.2018 | &mdash; ***[New feature [#68](https://github.com/ritwickdey/vscode-live-server/issues/68) & [#64](https://github.com/ritwickdey/vscode-live-server/issues/64)]*** CORS Enabled by default. *[Thanks [Elias García](https://github.com/elias-garcia) & [Gabriele Garavini](https://github.com/garaving)]* <br><br> &mdash; ***[New Settings / Enhacement]*** `liveServer.settings.fullReload` settings added for full reload instead of css inject (see [settings section](https://github.com/ritwickdey/vscode-live-server/blob/master/docs/settings.md) for more details.) <br><br> &mdash; ***[New Settings / Enhacement [#49](https://github.com/ritwickdey/vscode-live-server/issues/49)]*** `liveServer.settings.wait` settings added for delay before live reloading (see [settings section](https://github.com/ritwickdey/vscode-live-server/blob/master/docs/settings.md) for more details.) *[Thanks [Allen](https://github.com/justforuse)]*
|3.0.2|19.12.17| &mdash; ***[Enhacement [#38](https://github.com/ritwickdey/vscode-live-server/issues/38) & [#55](https://github.com/ritwickdey/vscode-live-server/issues/55)]*** default keybinding for MAC is changed to `cmd+L O` & `cmd+L C` to open & close server respectively. *[Thanks [Jens Alexander Ewald](https://github.com/jens-a-e), [Tim-Lars Schnehag](https://github.com/tallon1252) & [@nakedtoast](https://github.com/nakedtoast)]* <br> |
|3.0.1|17.12.17| &mdash; ***[Bug Fixed [#31](https://github.com/ritwickdey/vscode-live-server/issues/31)]*** `AdvanceCustomBrowserCmdLine` settings has been fixed. You can specify full path of your favorite custom browser *[Thanks [hdd1013](https://github.com/hdd1013)].* <br><br> &mdash;**[Bug Fixed [#47](https://github.com/ritwickdey/vscode-live-server/issues/47)]** `ChromeDebuggingAttachment` settings has been fixed. *[Thanks [Dr. YSG](https://github.com/DrYSG)].*|
|3.0.0| 23.10.17 | &mdash; ***[Announcement]*** : Live Server is now supports dynamic pages like PHP through *[Live Server Web Extension](https://github.com/ritwickdey/live-server-web-extension)*. <br><br> &mdash; ***[New [#20](https://github.com/ritwickdey/vscode-live-server/issues/20)]*** Support for `https` protocol. *(For more, see the `setting` section)* *[Thanks [Xaqron](https://github.com/Xaqron)].* <br><br> &mdash; ***[New]*** Support for proxy. *(For more, see the `setting` section)* <br><br> &mdash; ***[New]*** Setup settings for *[Live Server Web Extension](https://github.com/ritwickdey/live-server-web-extension)*. *(For more, see the `setting` section)* <br><br> &mdash; ***[Dropped]*** `additionalTagsForLiveReload` setting dropped. *(For more, see the `setting` section)* |
|2.2.1|07.10.17| &mdash; ***[Fixed [#26](https://github.com/ritwickdey/vscode-live-server/issues/26)]*** : CPU Overloads due to `**/node_modules/**` folder is fixed - Now `**/node_modules/**` is excluded by default. *(Special Thanks to [Bestvow](https://github.com/bestvow) for the help, Thanks to [user921](https://github.com/user921) for the report).*<br><br> &mdash; ***[Fixed]*** Small fixes in Statusbar Button.|
|2.2.0|2.10.2017| &mdash; ***[New]*** Two new options added to `liveServer.settings.CustomBrowser` settings. <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `chrome:PrivateMode` <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `firefox:PrivateMode` <br> *(For more, see the `setting` section)*. <br><br>&mdash; ***[New/Enhancement]*** Support for `SVG` files. *(Now right on a `svg` file & click to `Open with live Server`).* <br><br>&mdash; ***[Fixed [#27](https://github.com/ritwickdey/vscode-live-server/issues/27)]*** Possibility of add custom hostname. _(Thanks [Alex Lukyanov](https://github.com/lavir) for reporting the issue)_.
|2.1.1|11.09.17| ***[Enhancement [#22](https://github.com/ritwickdey/vscode-live-server/issues/22) [#23](https://github.com/ritwickdey/vscode-live-server/issues/23)]*** Now you can trun off the warring message for not detecting supporting tag for live reload. _(Thanks [skelesp](https://github.com/skelesp) and [郑国庆](https://github.com/zhengshuai1001) for the feedback)_ |
|2.1.0 | 10.09.17 | &mdash; ***[New Feature with Setting [#14](https://github.com/ritwickdey/vscode-live-server/issues/14)]*** `liveServer.settings.additionalTagsForLiveReload` : Support for Live Reload feature if there are no body or head tag in HTML. *[Experimental Feature - BETA]* *(See Settings section for more details).* <br><br>&mdash; ***[Feature/Enhancement [#18](https://github.com/ritwickdey/vscode-live-server/issues/18)]*** Now the Extension will prompt a message if supporting tag for live reload isn't detected in HTML. <br><br>&mdash; ***[Bug Fixes [#21](https://github.com/ritwickdey/vscode-live-server/issues/21)]*** Error on very fast double click on "Go Live" button.
| 2.0.0 | 27.08.17 | &mdash; ***[Final Release with v2.0.0]*** The *Preview* tag is removed from the extension. (BTW, More update comming... :smile:) <br><br>&mdash; ***[New Shortcut [#17](https://github.com/ritwickdey/vscode-live-server/issues/17)]*** Explorer Context Menu shortcut added. Just right click on a a `HTML` file & click `Open with Live Server`. <br><br>&mdash; ***[Enhancement [#16](https://github.com/ritwickdey/vscode-live-server/issues/16)]*** No more annoy message _'Live reload enabled'_ on browser console everytime. Now it will be logged on console for only one time. *[Thanks [AAhrit](https://github.com/AAhrit)].* <br><br>&mdash; **[Fixed [#11](https://github.com/ritwickdey/vscode-live-server/issues/11)]** In case if your folder name contains *exclamatory sign* (`!`) (E.g. : `myfolder!name`), live reload was not working *[Thanks [oliku](https://github.com/oliku)].*<br><br>&mdash; ***[One Shortcut Dropped]*** : Server closing shortcut by right clicking onto a `HTML` file is removed. (I believe that was a unconventional shortcut. if I am wrong, open a issue request on GitHub.). |
|1.6.11|20.08.17|&mdash; ***[Fixed Again [#13](https://github.com/ritwickdey/vscode-live-server/issues/13)]*** Browser was not opening after server started in Linux. - I don't really know, why the issue is occurring if I build package with `vsce` from Windows but no issue from Linux.<br><br> &mdash; ***[New Settings]*** `liveServer.settings.host`: To switch host name between `localhost` and `127.0.0.1`. Default is `127.0.0.1`.|
|1.6.10|19.08.17| &mdash; ***[Fixed [#13](https://github.com/ritwickdey/vscode-live-server/issues/13)]*** Browser was not opening after server started in Linux. _[Thanks [Ahmed Alzhrani](https://github.com/matt-zhrani)]_.<br><br> &mdash; ***[Fixed]*** Fixed Ignore Files feature (It was working only for first time of starting server).<br><br> &mdash; ***[Enhancement]*** Now you don't have to open a file to start server from workspace. Previously you got an annoyed message saying _"Open a file..."_.|
|1.6.9|15.08.17| &mdash; ***[New Settings]*** `liveServer.settings.donotShowInfoMsg :` To turn off information pop-up messages like _"Server starts with port xxxx"_ or like that. To turn off it, you can set the value as `true` or you can click to _"Don't show again"_ when a information message pop-up.<br><br> &mdash; ***[Enhancement]*** When server is already started & you right click onto a HTML file & choose 'Open with Live Server', instead of a pop-up message that *"Server already is already running at port xxxx"*, now it will open the HTML file to browser with same server instance.<br><br> &mdash; Source Code is refactored (If you you found anything broken, feel free to report me on GitHub). |
|1.6.8|04.08.17|***[New Settings]*** `liveServer.settings.ignoreFiles`: To ignore specific file changes. _(For More details, check out `Settings` section)_ [[#10](https://github.com/ritwickdey/vscode-live-server/issues/10)]. (Thanks [AminLA](https://github.com/AminLA)).|
|1.6.7|30.07.17|***[New Settings]*** `liveServer.settings.NoBrowser` - If it is true live server will start without browser opened.|
|1.6.6|28.07.17|&mdash; Remote Connect : Change something into HTML/CSS/JS from your PC and watch the effect to your phone with live reload._[Need Help? See FAQ Section]_<br> &mdash; `.htm` support.|
|1.6.5|26.07.17|Bug Fixed for Linux & macOS. Sometime extension was crashing if `liveServer.settings.CustomBrowser` settings is not provided by manually on macOS & Linux. |
|1.6.4|26.07.17|Critical Bug Fixed for Linux & macOS. Extension was crashing for `liveServer.settings.root` settings on macOS & Linux. |
|1.6.3| 24.07.17 | Validation added for Port range. |
|1.6.2| 22.07.17 | Fixed error handling for unavailable port. |
|1.6.1|20.07.17|Fixed Update - Extension was not opening system's default browser. _[Sorry for that, Extension was crashing internally]_|
|1.6.0|19.07.17| &mdash; [[#5](https://github.com/ritwickdey/vscode-live-server/issues/5)] New Settings - `liveServer.settings.AdvanceCustomBrowserCmdLine` - Now set your any favorite browser (Eg: Chrome Canary, Firefox Nightly) for Live Server using advance Command Line. (_[More Info.](https://github.com/ritwickdey/vscode-live-server#settings)_) [Thanks [Obinna A. Kalu](https://github.com/obkalu)]. <br><br> &mdash; Support for Microsoft-Edge through `liveServer.settings.CustomBrowser` settings. |
|1.5.0 | 17.07.17 | [[Quick Gif Demo](https://github.com/ritwickdey/vscode-live-server/blob/master/./images/Screenshot/ChromeDebugging.gif)] New Feature Added - Support for Chrome Debugging Attachment. (You have to enable the feature through `liveServer.settings.ChromeDebuggingAttachment` settings. _[More Info.](https://github.com/ritwickdey/vscode-live-server#settings)_). [Thanks [Obinna A. Kalu](https://github.com/obkalu) [[#5](https://github.com/ritwickdey/vscode-live-server/issues/5)] ].
|1.4.4 | 12.07.17 | Validation Pattern is added for root settings & Custom Browser settings is fixed. Package size reduced.
|1.4.3 | 10.07.17 | Status-bar Icon added. Minor Fix update on Status bar control. |
|1.4.2|08.07.17|Minor Fix Update on Custom Browser Setting.|
|1.4.1 | 07.07.17 | Minor Fix Update. (Thanks [Adam](https://github.com/AdamLombard)) [[#4](https://github.com/ritwickdey/vscode-live-server/pull/4)]. |
|1.4.0 | 04.07.17 | Two new settings are added. <br> &mdash; 1. `liveServer.settings.root` to change root of server in between workspace folder structure. (Thanks _[zorgoz](https://github.com/zorgoz)_ for the suggestion) [[#2](https://github.com/ritwickdey/vscode-live-server/issues/2)].<br> &mdash; 2. `liveServer.settings.CustomBrowser` to change default browser.<br> <br> &mdash; Bug Fixed - `Cannot GET/ Error` when server starts with a html file located sub folder of root. (Thanks _[John Michael Robin](https://github.com/jmmrdev)_ for reporting the bug) [[#3](https://github.com/ritwickdey/vscode-live-server/issues/3)].
| 1.3.1 | 03.07.17 | File Extension detection issue is fixed, `Live Server` will be activated if there have atleast one HTML except in your `node_modoules` directory and description of extension updated as git repo name of the extension is updated to conventional name |
| 1.3.0 | 02.07.17 |`Go Live` option on Statusbar will be appeared if HTML file is opened or if there have at least one HTML file in workspace.(Thanks _[Yu Zhang](https://github.com/neilsustc)_) [[#1](https://github.com/ritwickdey/vscode-live-server/issues/1)].|
| 1.2.0 | 30.06.17 | Settings for Customizing Port No of Live Server. Small UX updated. |
| 1.1.1 | 30.06.17 | Keyboad Shortcuts has been changed to `ALT+L, O` and `ALT+L, C` due to `Shift+ANY_CHARACTER` has different meaning - sorry for that.
| 1.1.0 | 30.06.17 | Editor/Context Menu Shortcut & Keyboad Shortcut added, Changelog added and Readme updated. |
| 1.0.0 | 29.06.17 | Fixed - issue in Server closing. |
| 0.2.0 | 28.06.17 | Status Bar control & User Experience updated and bugs Fixed. |
| 0.1.0 | 28.06.17 | Live Server Port details added, Bugs fixed & improvement. |
| 0.0.2 | 28.06.17 | Extension Icon & description added. |
| 0.0.1 | 28.06.17 | Initial Release. |

+ 21
- 0
extensions/ritwickdey.liveserver-5.6.1/LICENSE.txt View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2017 Ritwick Dey
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 100
- 0
extensions/ritwickdey.liveserver-5.6.1/README.md View File

@ -0,0 +1,100 @@
_[I'm sorry but I'm super busy now. If you want to be a maintainer of the project, please feel free to contact me! You've to be passionate about programming]_
# Live Server
**Live Server loves** 💘 **your multi-root workspace**
> **Live Server for server side pages like PHP. [Check Here](https://github.com/ritwickdey/live-server-web-extension)**
> ***[For 'command not found error' [#78](https://github.com/ritwickdey/vscode-live-server/issues/78)]***
[![VSCode Marketplace](https://img.shields.io/vscode-marketplace/v/ritwickdey.LiveServer.svg?style=flat-square&label=vscode%20marketplace)](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) [![Total Installs](https://img.shields.io/vscode-marketplace/d/ritwickdey.LiveServer.svg?style=flat-square)](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) [![Avarage Rating](https://img.shields.io/vscode-marketplace/r/ritwickdey.LiveServer.svg?style=flat-square)](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer)
[![Travis branch](https://img.shields.io/travis/ritwickdey/vscode-live-server/master.svg?style=flat-square&label=travis%20branch)](https://travis-ci.org/ritwickdey/vscode-live-server) [![Appveyor branch](https://img.shields.io/appveyor/ci/ritwickdey/vscode-live-server.svg?style=flat-square&label=appveyor%20branch)](https://ci.appveyor.com/project/ritwickdey/vscode-live-server) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/ritwickdey/vscode-live-server/)
<br>
**Launch a local development server with live reload feature for static & dynamic pages.**
<br>
![Live Server Demo VSCode](https://github.com/ritwickdey/vscode-live-server/raw/master/./images/Screenshot/vscode-live-server-animated-demo.gif)
## Shortcuts to Start/Stop Server
**_[NOTE: In case if you don't have any `.html` or `.htm` file in your workspace then you have to follow method no 4 & 5 to start server.]_**
1. Open a project and click to `Go Live` from the status bar to turn the server on/off.
![Go Live Control Preview](https://github.com/ritwickdey/vscode-live-server/raw/master/./images/Screenshot/vscode-live-server-statusbar-3.jpg)
2. Right click on a `HTML` file from Explorer Window and click on `Open with Live Server`.
![Explorer Window Control](https://github.com/ritwickdey/vscode-live-server/raw/master/./images/Screenshot/vscode-live-server-explorer-menu-demo-1.gif).
3. Open a HTML file and right-click on the editor and click on `Open with Live Server`.
![Edit Menu Option Preview](https://github.com/ritwickdey/vscode-live-server/raw/master/./images/Screenshot/vscode-live-server-editor-menu-3.jpg)
4. Hit `(alt+L, alt+O)` to Open the Server and `(alt+L, alt+C)` to Stop the server (You can change the shortcut form keybinding). *[On MAC, `cmd+L, cmd+O` and `cmd+L, cmd+C`]*
5. Open the Command Pallete by pressing `F1` or `ctrl+shift+P` and type `Live Server: Open With Live Server ` to start a server or type `Live Server: Stop Live Server` to stop a server.
## Features
* A Quick Development Live Server with live browser reload.
* Start or Stop server by a single click from status bar.
* Open a HTML file to browser from Explorer menu.[[Quick Gif Demo](https://github.com/ritwickdey/vscode-live-server/blob/master/./images/Screenshot/vscode-live-server-explorer-menu-demo-1.gif?raw=true)].
* Support for excluding files for change detection.
* Hot Key control.
* Customizable Port Number, Server Root, default browser.
* Support for any browser _(Eg: Firefox Nightly)_ using advance Command Line.
* Support for Chrome Debugging Attachment (_[More Info](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome)_). [[Quick Gif Demo](https://github.com/ritwickdey/vscode-live-server/blob/master/./images/Screenshot/ChromeDebugging.gif?raw=true)].
* Remote Connect through WLAN (E.g.: Connect with mobile) _[Need Help? See FAQ Section]_
* Use preferable host name *(localhost or 127.0.0.1)*.
* Customizable Supporting Tag for Live Reload feature. (Default is `Body` or `head`)
* SVG Support
* `https` Support.
* Support for proxy.
* CORS Enabled
* Multi-root workspace supported.
* Support for any file even dynamic pages through *[Live Server Web Extension](https://github.com/ritwickdey/live-server-web-extension)*.
## Installation
Open VSCode and type `ctrl+P`, type `ext install ritwickdey.liveserver`.
## Settings
All settings are now listed here [Settings Docs](https://github.com/ritwickdey/vscode-live-server/blob/master/./docs/settings.md).
## FAQs
*All FAQs are now listed here [FAQ Docs](https://github.com/ritwickdey/vscode-live-server/blob/master/./docs/faqs.md)*
## What's new ?
* ### Version 5.6.1 (17.04.19)
* ***[NEW]*** Fixing `Extension host terminated unexpectedly` *[[#431](https://github.com/ritwickdey/vscode-live-server/issues/431)
* ### Version 5.6.0 (17.04.19)
* ***[NEW]*** Intregation of `Browser Preview` with `Live Server` *[[#352](https://github.com/ritwickdey/vscode-live-server/pull/352) - Thanks to [Kenneth Auchenberg](https://github.com/auchenberg)]*
* ***[NEW]*** Fallback to random port If given port is busy. *[[#330](https://github.com/ritwickdey/vscode-live-server/pull/330) - Thanks to [Ali Almohaya](https://github.com/Almo7aya) ]*
* ***[FIXES]*** Moved to `vscode-chokidar` lib for *[#285](https://github.com/ritwickdey/vscode-live-server/issues/285)*.
* Doc Fixes *[[#388](https://github.com/ritwickdey/vscode-live-server/pull/388) - Thanks to [Ted Silbernagel](https://github.com/tedsilb)]*
* ### Version 5.5.1 (12.02.19)
* ***[Fixes]*** Fixed `Extension host terminated unexpectedly` for MacOS. [[#285](https://github.com/ritwickdey/vscode-live-server/issues/285)]
* ### Version 5.5.0 (12.02.19)
* ***[Fixes]*** Fixed `ignoreFiles` settings [[#255](https://github.com/ritwickdey/vscode-live-server/issues/255)]
* Attempt to fix `high cpu load` [[#278](https://github.com/ritwickdey/vscode-live-server/issues/278)]
## Changelog
To check full changelog [click here](https://github.com/ritwickdey/vscode-live-server/blob/master/CHANGELOG.md).
## Special Thanks To Maintainers
A special thanks to [Max Schmitt](https://github.com/mxschmitt), [Joydip Roy](https://github.com/rjoydip) & [Ayo Adesugba](https://github.com/adesugbaa) for contributing their valueable time on this project.
[![Max Schmitt](https://avatars2.githubusercontent.com/u/17984549?s=64)](https://github.com/mxschmitt)
[![Joydip Roy](https://avatars2.githubusercontent.com/u/15318294?s=64)](https://github.com/rjoydip)
[![Ayo Adesugba](https://avatars2.githubusercontent.com/u/55943?s=64)](https://github.com/adesugbaa)
## LICENSE
This extension is licensed under the [MIT License](https://github.com/ritwickdey/vscode-live-server/blob/master/LICENSE)

BIN
extensions/ritwickdey.liveserver-5.6.1/images/icon.png View File

Before After
Width: 256  |  Height: 256  |  Size: 2.8 KiB

+ 91
- 0
extensions/ritwickdey.liveserver-5.6.1/out/src/Config.js View File

@ -0,0 +1,91 @@
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
const vscode_1 = require("vscode");
class Config {
static get configuration() {
return vscode_1.workspace.getConfiguration('liveServer.settings');
}
static getSettings(val) {
return Config.configuration.get(val);
}
static setSettings(key, val, isGlobal = false) {
return Config.configuration.update(key, val, isGlobal);
}
static get getHost() {
return Config.getSettings('host');
}
static get getLocalIp() {
return Config.getSettings('useLocalIp');
}
static get getPort() {
return Config.getSettings('port');
}
static setPort(port) {
return Config.setSettings('port', port);
}
static get getRoot() {
return Config.getSettings('root');
}
static get getNoBrowser() {
return Config.getSettings('NoBrowser');
}
static get getUseBrowserPreview() {
return Config.getSettings('useBrowserPreview');
}
static get getAdvancedBrowserCmdline() {
return Config.getSettings('AdvanceCustomBrowserCmdLine');
}
static get getChromeDebuggingAttachment() {
return Config.getSettings('ChromeDebuggingAttachment');
}
static get getCustomBrowser() {
return Config.getSettings('CustomBrowser');
}
static get getIgnoreFiles() {
return Config.getSettings('ignoreFiles');
}
static get getDonotShowInfoMsg() {
return Config.getSettings('donotShowInfoMsg');
}
static setDonotShowInfoMsg(val, isGlobal = false) {
Config.configuration.update('donotShowInfoMsg', val, isGlobal);
}
static get getDonotVerifyTags() {
return Config.getSettings('donotVerifyTags');
}
static setDonotVerifyTags(val, isGlobal = false) {
Config.configuration.update('donotVerifyTags', val, isGlobal);
}
static get getUseWebExt() {
return Config.getSettings('useWebExt') || false;
}
static get getProxy() {
return Config.getSettings('proxy');
}
static get getHttps() {
return Config.getSettings('https') || {};
}
static get getWait() {
return Config.getSettings('wait');
}
static get getfullReload() {
return Config.getSettings('fullReload');
}
static get getMount() {
return Config.getSettings('mount');
}
static get getShowOnStatusbar() {
return Config.getSettings('showOnStatusbar') || false;
}
static get getFile() {
return Config.getSettings('file');
}
static get getMutiRootWorkspaceName() {
return Config.getSettings('multiRootWorkspaceName');
}
static setMutiRootWorkspaceName(val) {
return Config.configuration.update('multiRootWorkspaceName', val, false);
}
}
exports.Config = Config;
//# sourceMappingURL=Config.js.map

+ 129
- 0
extensions/ritwickdey.liveserver-5.6.1/out/src/Helper.js View File

@ -0,0 +1,129 @@
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
const fs = require("fs");
const path = require("path");
const Config_1 = require("./Config");
exports.SUPPRORTED_EXT = [
'.html', '.htm', '.svg'
];
exports.isRelativePath = (pathUrl) => {
if (pathUrl.startsWith('*'))
return false;
return !path.isAbsolute(pathUrl);
};
class Helper {
static testPathWithRoot(workSpacePath) {
let rootPath;
// Test the path is actually exists or not
const testPath = path.join(workSpacePath, Config_1.Config.getRoot);
let isNotOkay = !fs.existsSync(testPath);
if (!isNotOkay) { // means okay :)
rootPath = testPath;
}
else {
rootPath = workSpacePath;
}
if (!rootPath.endsWith(path.sep))
rootPath = rootPath + path.sep;
return {
isNotOkay,
rootPath
};
}
/**
* This function return the remaining path from root to target.
* e.g. : root is `c:\user\rootfolder\` and target is `c:\user\rootfolder\subfolder\index.html`
* then this function will return `subfolder\index.html` as html is a supported otherwise it will return null.
*
* @param rootPath
* @param targetPath
*/
static getSubPath(rootPath, targetPath) {
if (!Helper.IsSupportedFile(targetPath) || !targetPath.startsWith(rootPath)) {
return null;
}
return targetPath.substring(rootPath.length, targetPath.length);
}
/**
* It returns true if file is supported. input can be in full file path or just filename with extension name.
* @param file: can be path/subpath/file.ts or file.ts
*/
static IsSupportedFile(file) {
let ext = path.extname(file) || (file.startsWith('.') ? file : `.${file}`);
return exports.SUPPRORTED_EXT.indexOf(ext.toLowerCase()) > -1;
}
/**
*
* @param rootPath
* @param workspacePath
* @param onTagMissedCallback
*/
static generateParams(rootPath, workspacePath, onTagMissedCallback) {
workspacePath = workspacePath || '';
const port = Config_1.Config.getPort;
const ignorePathGlob = Config_1.Config.getIgnoreFiles || [];
const ignoreFiles = [];
ignorePathGlob.forEach(ignoredPath => {
if (exports.isRelativePath(ignoredPath))
ignoreFiles.push(path.join(workspacePath, ignoredPath));
else
ignoreFiles.push(ignoredPath);
});
const proxy = Helper.getProxySetup();
const https = Helper.getHttpsSetup();
const mount = Config_1.Config.getMount;
// In live-server mountPath is reslove by `path.resolve(process.cwd(), mountRule[1])`.
// but in vscode `process.cwd()` is the vscode extensions path.
// The correct path should be resolve by workspacePath.
mount.forEach((mountRule) => {
if (mountRule.length === 2 && mountRule[1]) {
mountRule[1] = path.resolve(workspacePath, mountRule[1]);
}
});
const file = Config_1.Config.getFile;
return {
port: port,
host: '0.0.0.0',
root: rootPath,
file: file,
open: false,
https: https,
ignore: ignoreFiles,
disableGlobbing: true,
proxy: proxy,
cors: true,
wait: Config_1.Config.getWait || 100,
fullReload: Config_1.Config.getfullReload,
useBrowserExtension: Config_1.Config.getUseWebExt,
onTagMissedCallback: onTagMissedCallback,
mount: mount
};
}
static getHttpsSetup() {
const httpsConfig = Config_1.Config.getHttps;
let https = null;
if (httpsConfig.enable === true) {
let cert = fs.readFileSync(httpsConfig.cert, 'utf8');
let key = fs.readFileSync(httpsConfig.key, 'utf8');
https = {
cert: cert,
key: key,
passphrase: httpsConfig.passphrase
};
}
return https;
}
static getProxySetup() {
const proxySetup = Config_1.Config.getProxy;
let proxy = [[]];
if (proxySetup.enable === true) {
proxy[0].push(proxySetup.baseUri, proxySetup.proxyUri);
}
else {
proxy = null; // required to change the type [[]] to black array [].
}
return proxy;
}
}
exports.Helper = Helper;
//# sourceMappingURL=Helper.js.map

+ 3
- 0
extensions/ritwickdey.liveserver-5.6.1/out/src/IAppModel.js View File

@ -0,0 +1,3 @@
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IAppModel.js.map

+ 36
- 0
extensions/ritwickdey.liveserver-5.6.1/out/src/LiveServerHelper.js View File

@ -0,0 +1,36 @@
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
const liveServer = require("live-server");
const httpShutdown = require("http-shutdown");
class LiveServerHelper {
static StartServer(params, callback) {
setTimeout(() => {
try {
let ServerInstance = liveServer.start(params);
setTimeout(() => {
if (!ServerInstance._connectionKey) {
return callback({});
}
httpShutdown(ServerInstance);
return callback(ServerInstance);
}, 1000);
}
catch (err) {
console.error(err);
callback({
errorMsg: err
});
}
}, 0);
}
static StopServer(LiveServerInstance, callback) {
LiveServerInstance.shutdown(() => {
// callback(); /*only Working first time, Unknown Bug*/
});
LiveServerInstance.close();
liveServer.shutdown();
setTimeout(() => { callback(); }, 1000);
}
}
exports.LiveServerHelper = LiveServerHelper;
//# sourceMappingURL=LiveServerHelper.js.map

+ 75
- 0
extensions/ritwickdey.liveserver-5.6.1/out/src/LiveShareHelper.js View File

@ -0,0 +1,75 @@
'use strict';
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const vsls = require("vsls/vscode");
/**
* Manages state of a live server shared via VS Live Share.
* Caches the live server path and starts/stops sharing in response to Live Share session events.
*/
class LiveShareHelper {
constructor(appModel) {
this.appModel = appModel;
this.appModel.onDidGoLive((e) => __awaiter(this, void 0, void 0, function* () {
// cache the current live server browse url
this.livePathUri = e.pathUri;
yield this.shareLiveServer();
}));
this.appModel.onDidGoOffline((e) => {
// reset the live server cached path
this.livePathUri = null;
if (this.activeHostSession && this.sharedServer) {
// will un-share the server
this.sharedServer.dispose();
this.sharedServer = null;
}
});
this.deferredWork = vsls.getApi().then(api => {
if (api) { // if Live Share is available (installed)
this.ensureInitialized(api);
}
});
}
dispose() {
return __awaiter(this, void 0, void 0, function* () {
yield this.deferredWork;
});
}
ensureInitialized(api) {
this.liveshare = api;
if (this.liveshare.session && this.liveshare.session.role === vsls.Role.Host) {
this.activeHostSession = this.liveshare.session;
}
this.liveshare.onDidChangeSession((e) => __awaiter(this, void 0, void 0, function* () {
if (e.session.role === vsls.Role.Host) {
// active sharing collaboration session
this.activeHostSession = e.session;
yield this.shareLiveServer();
}
else {
// any other session state, including joined as a guest
this.activeHostSession = null;
}
}));
}
shareLiveServer() {
return __awaiter(this, void 0, void 0, function* () {
if (this.activeHostSession && this.livePathUri) {
// only share the server when we're live and VS Live Share session is active
this.sharedServer = yield this.liveshare.shareServer({
port: this.appModel.runningPort,
displayName: 'Live Server',
browseUrl: `http://localhost:${this.appModel.runningPort}/${this.livePathUri.replace(/\\/gi, '/')}`
});
}
});
}
}
exports.LiveShareHelper = LiveShareHelper;
//# sourceMappingURL=LiveShareHelper.js.map

+ 42
- 0
extensions/ritwickdey.liveserver-5.6.1/out/src/StatusbarUi.js View File

@ -0,0 +1,42 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const vscode_1 = require("vscode");
const Config_1 = require("./Config");
class StatusbarUi {
static get statusbar() {
if (!StatusbarUi._statusBarItem) {
StatusbarUi._statusBarItem = vscode_1.window
.createStatusBarItem(vscode_1.StatusBarAlignment.Right, 100);
// Show status bar only if user wants :)
if (Config_1.Config.getShowOnStatusbar)
this.statusbar.show();
}
return StatusbarUi._statusBarItem;
}
static Init() {
StatusbarUi.Working('loading...');
setTimeout(function () {
StatusbarUi.Live();
}, 1000);
}
static Working(workingMsg = 'Working on it...') {
StatusbarUi.statusbar.text = `$(pulse) ${workingMsg}`;
StatusbarUi.statusbar.tooltip = 'In case if it takes long time, try to close all browser window.';
StatusbarUi.statusbar.command = null;
}
static Live() {
StatusbarUi.statusbar.text = '$(broadcast) Go Live';
StatusbarUi.statusbar.command = 'extension.liveServer.goOnline';
StatusbarUi.statusbar.tooltip = 'Click to run live server';
}
static Offline(port) {
StatusbarUi.statusbar.text = `$(circle-slash) Port : ${port}`;
StatusbarUi.statusbar.command = 'extension.liveServer.goOffline';
StatusbarUi.statusbar.tooltip = 'Click to close server';
}
static dispose() {
StatusbarUi.statusbar.dispose();
}
}
exports.StatusbarUi = StatusbarUi;
//# sourceMappingURL=StatusbarUi.js.map

+ 34
- 0
extensions/ritwickdey.liveserver-5.6.1/out/src/announcement/index.js View File

@ -0,0 +1,34 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const vscode_1 = require("vscode");
const opn = require("opn");
const SETUP_STRING = 'liveServer.setup.version';
function checkNewAnnouncement(memento) {
return __awaiter(this, void 0, void 0, function* () {
const packageJSON = vscode_1.extensions.getExtension('ritwickdey.LiveServer').packageJSON;
const announment = packageJSON.announcement;
if (!announment && Object.keys(announment).length === 0)
return;
const stateVersion = (yield memento.get(SETUP_STRING)) || '0.0.0';
const installedVersion = packageJSON.version;
if (stateVersion !== installedVersion && installedVersion === announment.onVersion) {
yield memento.update(SETUP_STRING, installedVersion);
const showDetails = 'Show Details';
const choice = yield vscode_1.window.showInformationMessage(announment.message, showDetails);
if (choice === showDetails) {
const url = announment.url || 'https://github.com/ritwickdey/vscode-live-server';
opn(url);
}
}
});
}
exports.checkNewAnnouncement = checkNewAnnouncement;
//# sourceMappingURL=index.js.map

+ 268
- 0
extensions/ritwickdey.liveserver-5.6.1/out/src/appModel.js View File

@ -0,0 +1,268 @@
'use strict';
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const vscode_1 = require("vscode");
const LiveServerHelper_1 = require("./LiveServerHelper");
const StatusbarUi_1 = require("./StatusbarUi");
const Config_1 = require("./Config");
const Helper_1 = require("./Helper");
const workspaceResolver_1 = require("./workspaceResolver");
const LiveShareHelper_1 = require("./LiveShareHelper");
const opn = require("opn");
const ips = require("ips");
class AppModel {
constructor() {
this.goLiveEvent = new vscode_1.EventEmitter();
this.goOfflineEvent = new vscode_1.EventEmitter();
const _ips = ips();
this.localIps = _ips.local ? _ips.local : Config_1.Config.getHost;
this.IsServerRunning = false;
this.runningPort = null;
this.liveShareHelper = new LiveShareHelper_1.LiveShareHelper(this);
this.haveAnySupportedFile().then(() => {
StatusbarUi_1.StatusbarUi.Init();
});
}
get onDidGoLive() {
return this.goLiveEvent.event;
}
get onDidGoOffline() {
return this.goOfflineEvent.event;
}
Golive(pathUri) {
return __awaiter(this, void 0, void 0, function* () {
// if no folder is opened.
if (!vscode_1.workspace.workspaceFolders) {
return this.showPopUpMsg(`Open a folder or workspace... (File -> Open Folder)`, true);
}
if (!vscode_1.workspace.workspaceFolders.length) {
return this.showPopUpMsg(`You've not added any folder in the workspace`, true);
}
const workspacePath = yield workspaceResolver_1.workspaceResolver(pathUri);
if (!this.isCorrectWorkspace(workspacePath))
return;
const openedDocUri = pathUri || (vscode_1.window.activeTextEditor ? vscode_1.window.activeTextEditor.document.fileName : '');
const pathInfos = Helper_1.Helper.testPathWithRoot(workspacePath);
if (this.IsServerRunning) {
const relativePath = Helper_1.Helper.getSubPath(pathInfos.rootPath, openedDocUri) || '';
this.goLiveEvent.fire({ runningPort: this.runningPort, pathUri: relativePath });
return this.openBrowser(this.runningPort, relativePath);
}
if (pathInfos.isNotOkay) {
this.showPopUpMsg('Invaild Path in liveServer.settings.root settings. live Server will serve from workspace root', true);
}
if (this.IsStaging)
return;
let params = Helper_1.Helper.generateParams(pathInfos.rootPath, workspacePath, () => {
this.tagMissedCallback();
});
LiveServerHelper_1.LiveServerHelper.StartServer(params, (serverInstance) => __awaiter(this, void 0, void 0, function* () {
if (serverInstance && serverInstance.address) {
this.LiveServerInstance = serverInstance;
this.runningPort = serverInstance.address().port;
this.ToggleStatusBar();
this.showPopUpMsg(`Server is Started at port : ${this.runningPort}`);
if (!Config_1.Config.getNoBrowser) {
const relativePath = Helper_1.Helper.getSubPath(pathInfos.rootPath, openedDocUri) || '';
this.goLiveEvent.fire({ runningPort: this.runningPort, pathUri: relativePath });
this.openBrowser(this.runningPort, relativePath);
}
}
else {
if (!serverInstance.errorMsg) {
yield Config_1.Config.setPort(Config_1.Config.getPort + 1); // + 1 will be fine
this.showPopUpMsg(`The default port : ${Config_1.Config.getPort - 1} is currently taken, changing port to : ${Config_1.Config.getPort}.`);
this.Golive(pathUri);
}
else {
this.showPopUpMsg(`Something is went wrong! Please check into Developer Console or report on GitHub.`, true);
}
this.IsServerRunning = true; // to revert status - cheat :p
this.ToggleStatusBar(); // reverted
}
}));
this.IsStaging = true;
StatusbarUi_1.StatusbarUi.Working('Starting...');
});
}
GoOffline() {
if (this.IsStaging)
return;
if (!this.IsServerRunning) {
this.showPopUpMsg(`Server is not already running`);
return;
}
this.goOfflineEvent.fire({ runningPort: this.runningPort });
LiveServerHelper_1.LiveServerHelper.StopServer(this.LiveServerInstance, () => {
this.showPopUpMsg('Server is now offline.');
this.ToggleStatusBar();
this.LiveServerInstance = null;
this.runningPort = null;
this.previousWorkspacePath = null;
});
this.IsStaging = true;
StatusbarUi_1.StatusbarUi.Working('Disposing...');
}
changeWorkspaceRoot() {
workspaceResolver_1.setOrChangeWorkspace()
.then(workspceName => {
if (workspceName === undefined)
return;
vscode_1.window.showInformationMessage(`Success! '${workspceName}' workspace is now root of Live Server`);
// If server is running, Turn off the server.
if (this.IsServerRunning)
this.GoOffline();
});
}
isCorrectWorkspace(workspacePath) {
if (this.IsServerRunning &&
this.previousWorkspacePath &&
this.previousWorkspacePath !== workspacePath) {
this.showPopUpMsg(`Server is already running from different workspace.`, true);
return false;
}
else
this.previousWorkspacePath = workspacePath;
return true;
}
tagMissedCallback() {
this.showPopUpMsg('Live Reload is not possible without body or head tag.', null, true);
}
showPopUpMsg(msg, isErrorMsg = false, isWarning = false) {
if (isErrorMsg) {
vscode_1.window.showErrorMessage(msg);
}
else if (isWarning && !Config_1.Config.getDonotVerifyTags) {
const donotShowMsg = 'I understand, Don\'t show again';
vscode_1.window.showWarningMessage(msg, donotShowMsg)
.then(choise => {
if (choise && choise === donotShowMsg) {
Config_1.Config.setDonotVerifyTags(true, true);
}
});
}
else if (!Config_1.Config.getDonotShowInfoMsg) {
const donotShowMsg = 'Don\'t show again';
vscode_1.window.showInformationMessage(msg, donotShowMsg)
.then(choice => {
if (choice && choice === donotShowMsg) {
Config_1.Config.setDonotShowInfoMsg(true, true);
}
});
}
}
ToggleStatusBar() {
this.IsStaging = false;
if (!this.IsServerRunning) {
StatusbarUi_1.StatusbarUi.Offline(this.runningPort || Config_1.Config.getPort);
}
else {
StatusbarUi_1.StatusbarUi.Live();
}
this.IsServerRunning = !this.IsServerRunning;
}
haveAnySupportedFile() {
return new Promise(resolve => {
const globFormat = `**/*[${Helper_1.SUPPRORTED_EXT.join(' | ')}]`;
vscode_1.workspace.findFiles(globFormat, '**/node_modules/**', 1)
.then((files) => __awaiter(this, void 0, void 0, function* () {
if (files && files.length)
return resolve();
}));
});
}
openBrowser(port, path) {
const host = Config_1.Config.getLocalIp ? this.localIps : Config_1.Config.getHost;
const protocol = Config_1.Config.getHttps.enable ? 'https' : 'http';
let params = [];
let advanceCustomBrowserCmd = Config_1.Config.getAdvancedBrowserCmdline;
if (path.startsWith('\\') || path.startsWith('/')) {
path = path.substring(1, path.length);
}
path = path.replace(/\\/gi, '/');
let useBrowserPreview = Config_1.Config.getUseBrowserPreview;
if (useBrowserPreview) {
let url = `${protocol}://${host}:${port}/${path}`;
let onSuccess = () => { };
let onError = (err) => {
this.showPopUpMsg(`Server is started at ${this.runningPort} but failed to open in Browser Preview. Got Browser Preview extension installed?`, true);
console.log('\n\nError Log to open Browser : ', err);
console.log('\n\n');
};
vscode_1.commands.executeCommand(`browser-preview.openPreview`, url).then(onSuccess, onError);
return;
}
if (advanceCustomBrowserCmd) {
advanceCustomBrowserCmd
.split('--')
.forEach((command, index) => {
if (command) {
if (index !== 0)
command = '--' + command;
params.push(command.trim());
}
});
}
else {
let CustomBrowser = Config_1.Config.getCustomBrowser;
let ChromeDebuggingAttachmentEnable = Config_1.Config.getChromeDebuggingAttachment;
if (CustomBrowser && CustomBrowser !== 'null' /*For backward capability*/) {
let browserDetails = CustomBrowser.split(':');
let browserName = browserDetails[0];
params.push(browserName);
if (browserDetails[1] && browserDetails[1] === 'PrivateMode') {
if (browserName === 'chrome' || browserName === 'blisk')
params.push('--incognito');
else if (browserName === 'firefox')
params.push('--private-window');
}
if ((browserName === 'chrome' || browserName === 'blisk') && ChromeDebuggingAttachmentEnable) {
params.push(...[
'--new-window',
'--no-default-browser-check',
'--remote-debugging-port=9222',
'--user-data-dir=' + __dirname
]);
}
}
}
if (params[0] && params[0] === 'chrome') {
switch (process.platform) {
case 'darwin':
params[0] = 'google chrome';
break;
case 'linux':
params[0] = 'google-chrome';
break;
case 'win32':
params[0] = 'chrome';
break;
default:
params[0] = 'chrome';
}
}
else if (params[0] && params[0].startsWith('microsoft-edge')) {
params[0] = `microsoft-edge:${protocol}://${host}:${port}/${path}`;
}
try {
opn(`${protocol}://${host}:${port}/${path}`, { app: params || [''] });
}
catch (error) {
this.showPopUpMsg(`Server is started at ${this.runningPort} but failed to open browser. Try to change the CustomBrowser settings.`, true);
console.log('\n\nError Log to open Browser : ', error);
console.log('\n\n');
}
}
dispose() {
StatusbarUi_1.StatusbarUi.dispose();
}
}
exports.AppModel = AppModel;
//# sourceMappingURL=appModel.js.map

+ 44
- 0
extensions/ritwickdey.liveserver-5.6.1/out/src/extension.js View File

@ -0,0 +1,44 @@
'use strict';
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const vscode_1 = require("vscode");
const appModel_1 = require("./appModel");
const announcement_1 = require("./announcement");
function activate(context) {
const appModel = new appModel_1.AppModel();
announcement_1.checkNewAnnouncement(context.globalState);
context.subscriptions.push(vscode_1.commands
.registerCommand('extension.liveServer.goOnline', (fileUri) => __awaiter(this, void 0, void 0, function* () {
yield vscode_1.workspace.saveAll();
appModel.Golive(fileUri ? fileUri.fsPath : null);
})));
context.subscriptions.push(vscode_1.commands
.registerCommand('extension.liveServer.goOffline', () => {
appModel.GoOffline();
}));
context.subscriptions.push(vscode_1.commands
.registerCommand('extension.liveServer.changeWorkspace', () => {
appModel.changeWorkspaceRoot();
}));
// context.subscriptions.push(window
// .onDidChangeActiveTextEditor(() => {
// if (window.activeTextEditor === undefined) return;
// if (workspace.rootPath === undefined && Helper.IsSupportedFile(window.activeTextEditor.document.fileName)) {
// StatusbarUi.Init();
// }
// })
// );
context.subscriptions.push(appModel);
}
exports.activate = activate;
function deactivate() {
}
exports.deactivate = deactivate;
//# sourceMappingURL=extension.js.map

+ 52
- 0
extensions/ritwickdey.liveserver-5.6.1/out/src/workspaceResolver.js View File

@ -0,0 +1,52 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const vscode_1 = require("vscode");
const Config_1 = require("./Config");
function setOrChangeWorkspace() {
const { workspaceFolders } = vscode_1.workspace;
const workspaceNames = workspaceFolders.map(e => e.name);
return vscode_1.window.showQuickPick(workspaceNames, {
placeHolder: 'choose workspace for Live Server',
ignoreFocusOut: true
}).then(workspaceName => {
if (workspaceName) {
return Config_1.Config.setMutiRootWorkspaceName(workspaceName).then(() => workspaceName);
}
});
}
exports.setOrChangeWorkspace = setOrChangeWorkspace;
function workspaceResolver(fileUri) {
return new Promise(resolve => {
const { workspaceFolders } = vscode_1.workspace;
const workspaceNames = workspaceFolders.map(e => e.name);
// If only one workspace. No need to check anything.
if (workspaceNames.length === 1) {
return resolve(workspaceFolders[0].uri.fsPath);
}
// if fileUri is set. Means, user tried to open server by right clicking to a HTML file.
if (fileUri) {
const selectedWorkspace = workspaceFolders.find(ws => fileUri.startsWith(ws.uri.fsPath));
if (selectedWorkspace) {
return Config_1.Config.setMutiRootWorkspaceName(selectedWorkspace.name)
.then(() => resolve(selectedWorkspace.uri.fsPath));
}
}
// If workspace already set by User
if (Config_1.Config.getMutiRootWorkspaceName) {
// A small test that the WorkspaceName (set by user) is valid
const targetWorkspace = workspaceFolders.find(e => e.name === Config_1.Config.getMutiRootWorkspaceName);
if (targetWorkspace)
return resolve(targetWorkspace.uri.fsPath);
// reset whatever user is set.
Config_1.Config.setMutiRootWorkspaceName(null);
}
// Show a quick picker
setOrChangeWorkspace()
.then(workspaceName => {
const workspaceUri = workspaceFolders.find(e => e.name === workspaceName).uri.fsPath;
return resolve(workspaceUri);
});
});
}
exports.workspaceResolver = workspaceResolver;
//# sourceMappingURL=workspaceResolver.js.map

+ 360
- 0
extensions/ritwickdey.liveserver-5.6.1/package.json View File

@ -0,0 +1,360 @@
{
"name": "LiveServer",
"displayName": "Live Server",
"description": "Launch a development local Server with live reload feature for static & dynamic pages",
"version": "5.6.1",
"publisher": "ritwickdey",
"author": {
"name": "Ritwick Dey",
"email": "ritwickdey@outlook.com",
"url": "http://twitter.com/Dey_Ritwick"
},
"engines": {
"vscode": "^1.20.0"
},
"categories": [
"Other"
],
"keywords": [
"html preview",
"live preview",
"live reload",
"svg preview",
"open in browser",
"multi-root ready"
],
"preview": false,
"galleryBanner": {
"color": "#41205f",
"theme": "dark"
},
"activationEvents": [
"*"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "extension.liveServer.goOffline",
"title": "Stop Live Server",
"category": "Live Server"
},
{
"command": "extension.liveServer.goOnline",
"title": "Open with Live Server",
"category": "Live Server"
},
{
"command": "extension.liveServer.changeWorkspace",
"title": "Change Live Server workspace",
"category": "Live Server"
}
],
"keybindings": [
{
"command": "extension.liveServer.goOffline",
"key": "alt+L alt+C",
"when": "editorTextFocus",
"mac": "cmd+L cmd+C"
},
{
"command": "extension.liveServer.goOnline",
"key": "alt+L alt+O",
"when": "editorTextFocus",
"mac": "cmd+L cmd+O"
}
],
"menus": {
"editor/context": [
{
"command": "extension.liveServer.goOnline",
"group": "myGrp@liveServer",
"when": "resourceLangId == html"
},
{
"command": "extension.liveServer.goOffline",
"group": "myGrp@liveServer",
"when": "resourceLangId == html"
},
{
"command": "extension.liveServer.goOnline",
"group": "myGrp@liveServer",
"when": "resourceLangId == xml"
}
],
"explorer/context": [
{
"command": "extension.liveServer.goOnline",
"group": "navigation@-LiveServer",
"when": "resourceLangId == html"
},
{
"command": "extension.liveServer.goOnline",
"group": "navigation@-LiveServer",
"when": "resourceLangId == xml"
}
]
},
"configuration": {
"title": "Live Server Config",
"properties": {
"liveServer.settings.port": {
"type": [
"number"
],
"default": 5500,
"minimum": 0,
"maximum": 65535,
"description": "Set Custom Port Number of Live Server. Set 0 if you want random port."
},
"liveServer.settings.root": {
"type": [
"string"
],
"default": "/",
"pattern": "/|/[^\\/]",
"description": "Set Custom root of Live Server. \nTo change root the the server to sub folder of workspace, use '/' and relative path from workspace. \nExample: /subfolder1/subfolder2"
},
"liveServer.settings.useBrowserPreview": {
"type": "boolean",
"default": false,
"description": "Open in Browser Preview inside VS Code, instead of default browser"
},
"liveServer.settings.CustomBrowser": {
"type": [
"string",
"null"
],
"default": null,
"enum": [
"chrome",
"chrome:PrivateMode",
"firefox",
"firefox:PrivateMode",
"microsoft-edge",
"blisk",
null
],
"description": "Specify custom browser settings for Live Server. \nBy Default it will open your default favorite browser."
},
"liveServer.settings.ChromeDebuggingAttachment": {
"type": [
"boolean"
],
"default": false,
"description": "Enable Chrome Debugging Attachment to Live Server at Debuging Port 9222.\n NOTE: You have to install 'Debugger for Chrome' \nIf the value is true, Select 'Attach to Chrome' from Debug Window to start debugging. \n\n CAUTION: If it is true, 'Launch Chrome against localhost' may not work."
},
"liveServer.settings.AdvanceCustomBrowserCmdLine": {
"type": [
"string",
"null"
],
"default": null,
"description": "Note: If it is not Null, It will override CustomBrowser and ChromeDebuggingAttachment settings.\n\n Examples : \nchrome --incognito --headless --remote-debugging-port=9222 \n C:\\\\Program Files\\\\Firefox Developer Edition\\\\firefox.exe --private-window"
},
"liveServer.settings.showOnStatusbar": {
"type": "boolean",
"default": true,
"description": "Change this to false if you don't want the button to show in the statusbar"
},
"liveServer.settings.NoBrowser": {
"type": "boolean",
"default": false,
"description": "If it is true live server will start without browser opened."
},
"liveServer.settings.ignoreFiles": {
"type": "array",
"default": [
".vscode/**",
"**/*.scss",
"**/*.sass",
"**/*.ts"
],
"description": "To ignore specific file changes"
},
"liveServer.settings.mount": {
"type": "array",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string"
}
},
"default": [],
"description": "Mount a directory to a route. Such as [['/components', './node_modules']]"
},
"liveServer.settings.donotShowInfoMsg": {
"type": "boolean",
"default": false,
"description": "To disable information pop up messages."
},
"liveServer.settings.donotVerifyTags": {
"type": "boolean",
"default": false,
"description": "To turn off prompt warning message if body or head or other supporting tag is missing in your HTML."
},
"liveServer.settings.host": {
"type": "string",
"default": "127.0.0.1",
"description": "To switch between localhost or 127.0.0.1 or anything else. Default is 127.0.0.1"
},
"liveServer.settings.useLocalIp": {
"type": "boolean",
"default": false,
"description": "Use local IP as host"
},
"liveServer.settings.proxy": {
"type": "object",
"default": {
"enable": false,
"baseUri": "/",
"proxyUri": "http://127.0.0.1:80"
},
"properties": {
"enable": {
"type": "boolean",
"default": false,
"description": "Make it true to enable the feature."
},
"baseUri": {
"type": "string",
"default": "/",
"pattern": ""
},
"proxyUri": {
"type": "string",
"default": "http://127.0.0.1:80",
"pattern": "(^http[s]?://)(.[^(\\|\\s)]+)$"
}
},
"required": [
"enable",
"baseUri",
"proxyUri"
],
"additionalProperties": false,
"description": "To Setup Proxy"
},
"liveServer.settings.useWebExt": {
"type": "boolean",
"default": false,
"description": "You have to install a browser extension. That will be works for your dynamic pages (like PHP)."
},
"liveServer.settings.wait": {
"type": "number",
"default": 100,
"description": "Delay before live reloading. Value in milliseconds. Default is 100"
},
"liveServer.settings.fullReload": {
"type": "boolean",
"default": false,
"description": "By Default Live Server inject CSS changes without full reloading of browser. You can change this behviour by making this setting as `true`"
},
"liveServer.settings.https": {
"type": "object",
"default": {
"enable": false,
"cert": "",
"key": "",
"passphrase": ""
},
"properties": {
"enable": {
"type": "boolean",
"default": false,
"description": "Make it true to enable it."
},
"cert": {
"type": "string",
"default": "",
"description": "Add full path certificate."
},
"key": {
"type": "string",
"default": "",
"description": "Add full path key"
},
"passphrase": {
"type": "string",
"default": "",
"description": "Add Pass Phrase."
}
},
"required": [
"enable",
"cert",
"key",
"passphrase"
],
"additionalProperties": false,
"description": "Setup https configuration"
},
"liveServer.settings.file": {
"type": "string",
"default": "",
"description": "When set, serve this file (server root relative) for every 404 (useful for single-page applications)"
},
"liveServer.settings.multiRootWorkspaceName": {
"type": "string",
"default": null,
"description": "This the entry point of server when you're in multiroot workspace"
}
}
}
},
"license": "MIT",
"icon": "images/icon.png",
"bugs": {
"url": "https://github.com/ritwickdey/vscode-live-server/issues",
"email": "ritwickdey@outlook.com"
},
"repository": {
"type": "git",
"url": "https://github.com/ritwickdey/vscode-live-server.git"
},
"homepage": "https://ritwickdey.github.io/vscode-live-server/",
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test",
"lint": "tslint --project .",
"precommit": "npm run lint",
"prepush": "npm run lint"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit",
"pre-push": "npm run prepush"
}
},
"devDependencies": {
"@types/mocha": "^2.2.48",
"@types/node": "^9.6.40",
"husky": "^1.2.1",
"mocha": "^5.0.4",
"tslint": "^5.11.0",
"typescript": "^2.7.2",
"vscode": "^1.1.26",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.0"
},
"dependencies": {
"http-shutdown": "^1.2.0",
"ips": "^2.1.3",
"live-server": "file:lib\\live-server",
"opn": "^5.4.0",
"vsls": "^0.3.967"
},
"announcement": {
"onVersion": "5.6.1",
"message": "[NEW] LiveServer@5.6: BrowserPreview integration, auto fallback to random port & fixes."
},
"__metadata": {
"id": "ritwickdey.LiveServer",
"publisherId": "ritwickdey",
"publisherDisplayName": "ritwickdey"
}
}

+ 42
- 0
extensions/shan.code-settings-sync-3.4.3/.vsixmanifest View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Language="en-US" Id="code-settings-sync" Version="3.4.3" Publisher="Shan"/>
<DisplayName>Settings Sync</DisplayName>
<Description xml:space="preserve">Synchronize Settings, Snippets, Themes, File Icons, Launch, Keybindings, Workspaces and Extensions Across Multiple Machines Using GitHub Gist.</Description>
<Tags>vscode-sync,vscode-settings-sync,code-settings-sync,settings-sync,workspace-sync,multi-root ready,keybindings</Tags>
<Categories>Other</Categories>
<GalleryFlags>Public</GalleryFlags>
<Badges><Badge Link="https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync" ImgUri="https://vsmarketplacebadge.apphb.com/version/Shan.code-settings-sync.svg" Description="Latest Version" /><Badge Link="https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync" ImgUri="https://vsmarketplacebadge.apphb.com/installs/Shan.code-settings-sync.svg" Description="Total Downloads" /><Badge Link="https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync" ImgUri="https://vsmarketplacebadge.apphb.com/rating/Shan.code-settings-sync.svg" Description="Ratings" /><Badge Link="https://join.slack.com/t/codesettingssync/shared_invite/enQtNzQyODMzMzI5MDQ3LWNmZjVkZjE2YTg0MzY1Y2EyYzVmYThmNzg2YjZkNjhhZWY3ZTEzN2I3ZTAxMjkwNWU0ZjMyZGFhMjdiZDI3ODU" ImgUri="https://img.shields.io/badge/Join%20Community-slack-green.svg" Description="Join Slack Community" /></Badges>
<Properties>
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="^1.35.1" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionDependencies" Value="" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionPack" Value="" />
<Property Id="Microsoft.VisualStudio.Code.LocalizedLanguages" Value="" />
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/shanalikhan/code-settings-sync.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Getstarted" Value="https://github.com/shanalikhan/code-settings-sync.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.GitHub" Value="https://github.com/shanalikhan/code-settings-sync.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Support" Value="https://github.com/shanalikhan/code-settings-sync/issues" />
<Property Id="Microsoft.VisualStudio.Services.Links.Learn" Value="https://shanalikhan.github.io" />
<Property Id="Microsoft.VisualStudio.Services.Branding.Color" Value="#3B4859" />
<Property Id="Microsoft.VisualStudio.Services.Branding.Theme" Value="dark" />
<Property Id="Microsoft.VisualStudio.Services.GitHubFlavoredMarkdown" Value="true" />
</Properties>
<License>extension/LICENSE.txt</License>
<Icon>extension/images/logo-128.png</Icon>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Code"/>
</Installation>
<Dependencies/>
<Assets>
<Asset Type="Microsoft.VisualStudio.Code.Manifest" Path="extension/package.json" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Content.Details" Path="extension/README.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Content.Changelog" Path="extension/CHANGELOG.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Content.License" Path="extension/LICENSE.txt" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Icons.Default" Path="extension/images/logo-128.png" Addressable="true" />
</Assets>
</PackageManifest>

+ 143
- 0
extensions/shan.code-settings-sync-3.4.3/CHANGELOG.md View File

@ -0,0 +1,143 @@
# ChangeLog : Settings Sync [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Synchronize%20your%20%40VisualStudio%20%40code%20Settings%20Across%20Multiple%20Machines%20using%20%40github%20GIST%20by%20%40itsShanKhan&url=https://github.com/shanalikhan/code-settings-sync&via=code&hashtags=code,vscode,SettingsSync,developers) [![Follow](https://img.shields.io/twitter/follow/itsShanKhan.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=itsShanKhan)
[![Version](https://vsmarketplacebadge.apphb.com/version/Shan.code-settings-sync.svg)](https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync) [![Travis](https://img.shields.io/travis/rust-lang/rust.svg)](https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync) [![Master course](https://img.shields.io/badge/Supported%20by-VSCode%20Power%20User%20Course%20%E2%86%92-gray.svg?colorA=444444&colorB=4F44D6)](https://t.co/8BEMyhpKU5?amp=1)
#### v3.4.3 - September 23,2019
* Share GitHub Gist ID message Fixed [#1033](https://github.com/shanalikhan/code-settings-sync/issues/1033)
* Consistency between GitHub Gist and Description across extension readme [#1023](https://github.com/shanalikhan/code-settings-sync/issues/1023)
* Snippets Sync. Fixed [#993](https://github.com/shanalikhan/code-settings-sync/issues/993)
* GitHub Api connection improved [#1027](https://github.com/shanalikhan/code-settings-sync/issues/1027)
* Extension always asks to enable Force Upload [#1016](https://github.com/shanalikhan/code-settings-sync/issues/1016) - Thanks for PR [#1026](https://github.com/shanalikhan/code-settings-sync/pull/1026) by [@karl-lunarg](https://github.com/karl-lunarg)
* UX Improved for the Force Upload [#1035](https://github.com/shanalikhan/code-settings-sync/issues/1035) - Thanks for PR [#1042](https://github.com/shanalikhan/code-settings-sync/pull/1042) by [@karl-lunarg](https://github.com/karl-lunarg)
* Webview does not set a content security policy [#1010](https://github.com/shanalikhan/code-settings-sync/issues/1010) - Thanks for PR [#1020](https://github.com/shanalikhan/code-settings-sync/pull/1020) by [@ParkourKarthik](https://github.com/ParkourKarthik)
* Icon Improved - Thanks for PR [#1022](https://github.com/shanalikhan/code-settings-sync/pull/1022) by [@Pustur](https://github.com/Pustur)
* Improved German Languauge Support - Thanks for PR [#1040](https://github.com/shanalikhan/code-settings-sync/pull/1040) by [@jan-di](https://github.com/jan-di)
* Improved Chinese Language Support - Thanks for PR [#1028](https://github.com/shanalikhan/code-settings-sync/pull/1028) by [@YunChaoTsai](https://github.com/YunChaoTsai)
* Readme Improved - Thanks for PR [#1031](https://github.com/shanalikhan/code-settings-sync/pull/1031) by [@faliure](https://github.com/faliure)
* Slack Link Updated
* Node Modules Updated
#### v3.4.2 - August 21, 2019
* Multiple Lanugages Support Improved [#1009](https://github.com/shanalikhan/code-settings-sync/pull/1009) by [@ XanatosX](https://github.com/XanatosX ) , [#999](https://github.com/shanalikhan/code-settings-sync/pull/999) by [@o3LL](https://github.com/o3LL) , [#994](https://github.com/shanalikhan/code-settings-sync/pull/994) by [@mijien0179](https://github.com/mijien0179) , [#981](https://github.com/shanalikhan/code-settings-sync/pull/981) by [@ryul1206](https://github.com/ryul1206)
* Hide GitHub Token on Summary [#974](https://github.com/shanalikhan/code-settings-sync/issues/974)
* Only Show "Share Gist" Dialog when Public Gist is created [#977](https://github.com/shanalikhan/code-settings-sync/issues/977)
* Sync Pragma Improved [#1003](https://github.com/shanalikhan/code-settings-sync/issues/1003) - Thanks for PR [#1012](https://github.com/shanalikhan/code-settings-sync/pull/1012) by [@protium-dev](https://github.com/protium-dev)
* UI Bug Fix where users were unable to select GIST [#983](https://github.com/shanalikhan/code-settings-sync/issues/983)
#### v3.4.1 - July 22, 2019
* Turn off notifications on code startup [#959](https://github.com/shanalikhan/code-settings-sync/issues/959) - Thanks for PR [#960](https://github.com/shanalikhan/code-settings-sync/pull/960) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
* Chinese Translation Improved - Thanks for PR [#966](https://github.com/shanalikhan/code-settings-sync/pull/966) by [@linsui](https://github.com/linsui) and [#961](https://github.com/shanalikhan/code-settings-sync/pull/961) by [@ziofat](https://github.com/ziofat)
* Russian Translation Improved - Thanks for PR [#957](https://github.com/shanalikhan/code-settings-sync/pull/957) by [@AndreyWV](https://github.com/AndreyWV)
#### v3.4.0 - July 15, 2019
* Settings Sync now use Webviews to allow you to configure settings [#506](https://github.com/shanalikhan/code-settings-sync/issues/506) - Thanks for PR [#876](https://github.com/shanalikhan/code-settings-sync/pull/876) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
* code snippets not being synced after update to 3.3.0 [#927](https://github.com/shanalikhan/code-settings-sync/issues/927) - Thanks for PR [#928](https://github.com/shanalikhan/code-settings-sync/pull/928) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
* Implement upload delay setting [#390](https://github.com/shanalikhan/code-settings-sync/issues/390) - Thanks for PR [#925](https://github.com/shanalikhan/code-settings-sync/pull/925) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
* Dont Upload If GIST and settings content are the same. [#316](https://github.com/shanalikhan/code-settings-sync/issues/316) - Thanks for PR [#923](https://github.com/shanalikhan/code-settings-sync/pull/923) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
* Prevent accidental upload [#350](https://github.com/shanalikhan/code-settings-sync/issues/350) - Thanks for PR [#923](https://github.com/shanalikhan/code-settings-sync/pull/923) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
#### v3.3.1 - June 25,2019
* Small Improvements
#### v3.3.0 - June 25,2019
* Code OSS Version Support Added [#668](https://github.com/shanalikhan/code-settings-sync/issues/668) - Thanks for PR [#859](https://github.com/shanalikhan/code-settings-sync/pull/859) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
* Remote Development Support Added [#870](https://github.com/shanalikhan/code-settings-sync/issues/870) - Thanks for PR [#871](https://github.com/shanalikhan/code-settings-sync/pull/871) by [@mjbvz](https://github.com/mjbvz)
* Pragma Util Support for `keybindings.json` Added [#800](https://github.com/shanalikhan/code-settings-sync/issues/800) - Thanks for PR [#854](https://github.com/shanalikhan/code-settings-sync/pull/854) by [@njkevlani](https://github.com/njkevlani)
* Support OS specific `keybindings.json` in single file [#515](https://github.com/shanalikhan/code-settings-sync/issues/515) - Thanks for PR [#854](https://github.com/shanalikhan/code-settings-sync/pull/854) by [@njkevlani](https://github.com/njkevlani)
* Improved Auto Upload Process [#839](https://github.com/shanalikhan/code-settings-sync/issues/839) - Thanks for PR [#909](https://github.com/shanalikhan/code-settings-sync/pull/909) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
* Improved Pragma Util to ignore some values[#865](https://github.com/shanalikhan/code-settings-sync/issues/865) - Thanks for PR [#872](https://github.com/shanalikhan/code-settings-sync/pull/872) by [@ioprotium](https://github.com/ioprotium)
* Ignore auto-upload process for some settings [#754](https://github.com/shanalikhan/code-settings-sync/issues/754) - Thanks for PR [#872](https://github.com/shanalikhan/code-settings-sync/pull/872) by [@ioprotium](https://github.com/ioprotium)
* Language localization improved and more languages added. [#886](https://github.com/shanalikhan/code-settings-sync/issues/886) - Thanks for PR [#915](https://github.com/shanalikhan/code-settings-sync/pull/915) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
* Improved Command line text [#891](https://github.com/shanalikhan/code-settings-sync/issues/891 ) - by [@nawordar](https://github.com/nawordar)
* Support For Azure Data Studio
* Node Modules Updated and code refactoring.
#### v3.2.9 - April 18,2019
* Bug : Fixed Code that kills Extension Host for MacOS [#827](https://github.com/shanalikhan/code-settings-sync/issues/827) - Thanks for PR [#834](https://github.com/shanalikhan/code-settings-sync/pull/834) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
* Bug : Download From Public Gist not working [#816](https://github.com/shanalikhan/code-settings-sync/issues/816)
* Bug : Auto Upload Fix [#832](https://github.com/shanalikhan/code-settings-sync/issues/832) - Thanks for PR [#835](https://github.com/shanalikhan/code-settings-sync/pull/835) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
* Improvement - Inserts some empty lines in the beginning of `settings.json` [#819](https://github.com/shanalikhan/code-settings-sync/issues/819) - Thanks for PR [#828](https://github.com/shanalikhan/code-settings-sync/pull/828) by [@knyhle](https://github.com/knyhle)
* Wiki : Update Documentation - Thanks for PR [#828](https://github.com/shanalikhan/code-settings-sync/pull/845) by [@colinaaa](https://github.com/colinaaa)
#### v3.2.8 - April 04,2019
* Bug : auto upload doesn't work when make change on settings [#801](https://github.com/shanalikhan/code-settings-sync/issues/801) - Thanks for PR [#807](https://github.com/shanalikhan/code-settings-sync/pull/807) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
* Bug : Auto Upload / Download : Disable change detection for workspace storage folder [#708](https://github.com/shanalikhan/code-settings-sync/issues/708) - Thanks for PR [#811](https://github.com/shanalikhan/code-settings-sync/pull/811) by [@knyhle](https://github.com/knyhle)
* Pretiffy Custom Settings JSON - Thanks for PR [#812](https://github.com/shanalikhan/code-settings-sync/pull/812) by [@knyhle](https://github.com/knyhle)
* Improvement - Remove manual visx package installation in favour of extension download by CLI [#820](https://github.com/shanalikhan/code-settings-sync/issues/820)
* Improvement - Remove replaceCodeSettings from Settings Sync configurations [#805](https://github.com/shanalikhan/code-settings-sync/issues/805)
#### v3.2.7 - March 06,2019
* Bug : Fixing Extensions Sync on Windows [#789](https://github.com/shanalikhan/code-settings-sync/issues/789) - Thanks for PR [#791](https://github.com/shanalikhan/code-settings-sync/pull/791) by [@LuisUrrutia](https://github.com/LuisUrrutia)
#### v3.2.6 - March 05,2019
* Bug : Syncing of extensions not working in portable mode [#756](https://github.com/shanalikhan/code-settings-sync/issues/756) - Thanks for PR [#782](https://github.com/shanalikhan/code-settings-sync/pull/782) by [@LuisUrrutia](https://github.com/LuisUrrutia)
* Bug : Fixing NODE_TLS_REJECT_UNAUTHORIZED [#776](https://github.com/shanalikhan/code-settings-sync/issues/776) - Thanks for PR [#779](https://github.com/shanalikhan/code-settings-sync/pull/779) by [@MattMorgis](https://github.com/MattMorgis)
* Documentation Updated
* Packages Updated
#### v3.2.5 - Feb 15,2019
* Bug : Not working with VSCode 1.31 [#762](https://github.com/shanalikhan/code-settings-sync/issues/762) - Thanks for PR [#763](https://github.com/shanalikhan/code-settings-sync/pull/763) by [@nekonenene](https://github.com/nekonenene)
* Bug : Multi-line settings aren't ignored properly using sync pragma [#701](https://github.com/shanalikhan/code-settings-sync/issues/701) - Thanks for PR [#750](https://github.com/shanalikhan/code-settings-sync/pull/750) by [@ioprotium](https://github.com/ioprotium)
* Packages updated, small improvements
#### v3.2.3 - 11 Dec, 2018
* Startup : Long startup activation time on the first start [#656](https://github.com/shanalikhan/code-settings-sync/issues/656) - Thanks for PR [#717](https://github.com/shanalikhan/code-settings-sync/pull/717) by [@thejewdude](https://github.com/thejewdude)
* Feature : Adding coder.com support [#714](https://github.com/shanalikhan/code-settings-sync/issues/714) - Thanks for PR [#720](https://github.com/shanalikhan/code-settings-sync/pull/720) by [@deansheather](https://github.com/deansheather)
#### v3.2.2 - 26 Nov, 2018
* Sync Advance Setting Menu doesnt open when JSON not Valid [#683](https://github.com/shanalikhan/code-settings-sync/issues/683)
#### v3.2.1 - 23 Nov, 2018
* Bug : Only install missing extensions in Portable Vs Code [#687](https://github.com/shanalikhan/code-settings-sync/issues/687)
* Bug : Error: Cannot read property 'token' of undefined [#685](https://github.com/shanalikhan/code-settings-sync/issues/685)
* Bug : sync-ignore isn't ignoring my local value, it deletes it [#686](https://github.com/shanalikhan/code-settings-sync/issues/686)
* Bug : Download of extension packages failed [#642](https://github.com/shanalikhan/code-settings-sync/issues/642) - Thanks for PR [#705](https://github.com/shanalikhan/code-settings-sync/pull/705) by [@emptyother](https://github.com/emptyother)
#### v3.2.0 - 17 Oct, 2018
* Prompt to reload VSCode after installing extensions [#629](https://github.com/shanalikhan/code-settings-sync/issues/629)
* Keep output of CLI installation command [#628](https://github.com/shanalikhan/code-settings-sync/issues/628)
* Dont write default settings sync config to code settings.json [#513](https://github.com/shanalikhan/code-settings-sync/issues/513)
* vscodium download settings fails [#650](https://github.com/shanalikhan/code-settings-sync/issues/650) - Thanks for PR [#651](https://github.com/shanalikhan/code-settings-sync/pull/651) by [@stripedpajamas](https://github.com/stripedpajamas)
* Does not work with Portable Visual Studio Code [#331](https://github.com/shanalikhan/code-settings-sync/issues/331)
* Flatpak Support for Settings Sync [#621](https://github.com/shanalikhan/code-settings-sync/issues/621) - Thanks for PR [#657](https://github.com/shanalikhan/code-settings-sync/pull/657) by [@laloch](https://github.com/laloch)
* Per-platform / per-hostname inline settings [#640](https://github.com/shanalikhan/code-settings-sync/issues/640) - Thanks for PR [#667](https://github.com/shanalikhan/code-settings-sync/pull/667) by [@ioprotium](https://github.com/ioprotium)
* Idea/Suggestion: Adds support to sync custom files [#258](https://github.com/shanalikhan/code-settings-sync/issues/258) - Thanks for PR [#258](https://github.com/shanalikhan/code-settings-sync/pull/258) by [@tkrtmy](https://github.com/tkrtmy)
For Previous releases change log view the [post](http://shanalikhan.github.io/2016/05/14/Visual-studio-code-sync-settings-release-notes.html)
## [Contributions](https://github.com/shanalikhan/code-settings-sync/blob/master/CONTRIBUTING.md)
### Financial
[<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif">](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=4W3EWHHBSYMM8&lc=IE&item_name=Code%20Settings%20Sync&item_number=visual%20studio%20code%20settings%20sync&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
I also welcome financial contributions in case of special feature requests on my [open collective](https://opencollective.com/code-settings-sync).
### Community
You may join slack community and disscus the ideas over there.
<a href="https://join.slack.com/t/codesettingssync/shared_invite/enQtNzQyODMzMzI5MDQ3LWNmZjVkZjE2YTg0MzY1Y2EyYzVmYThmNzg2YjZkNjhhZWY3ZTEzN2I3ZTAxMjkwNWU0ZjMyZGFhMjdiZDI3ODU">
<img src="https://i.imgur.com/1QWdtcX.png" alt="Drawing" style="width: 150px;"/>
</a>
I'm looking for contributors to work with me so we can make the extension smoother and more feature rich.
Let me know if anyone is willing to [contribute](https://github.com/shanalikhan/code-settings-sync/blob/master/CONTRIBUTING.md).

+ 22
- 0
extensions/shan.code-settings-sync-3.4.3/LICENSE.txt View File

@ -0,0 +1,22 @@
The MIT License (MIT)
Copyright (c) 2015 Shan Khan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 316
- 0
extensions/shan.code-settings-sync-3.4.3/README.md View File

@ -0,0 +1,316 @@
# Settings Sync [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Synchronize%20your%20%40VisualStudio%20%40code%20Settings%20Across%20Multiple%20Machines%20using%20%40github%20GIST%20by%20%40itsShanKhan&url=https://github.com/shanalikhan/code-settings-sync&via=code&hashtags=code,vscode,SettingsSync,developers) [![Follow](https://img.shields.io/twitter/follow/itsShanKhan.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=itsShanKhan)
**Previously known as Visual Studio Code Settings Sync**
[![Version](https://vsmarketplacebadge.apphb.com/version/Shan.code-settings-sync.svg)](https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync) [![Travis](https://img.shields.io/travis/rust-lang/rust.svg)](https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync)
[![Greenkeeper badge](https://badges.greenkeeper.io/shanalikhan/code-settings-sync.svg)](https://greenkeeper.io/)
[![Master course](https://img.shields.io/badge/Supported%20by-VSCode%20Power%20User%20Course%20%E2%86%92-gray.svg?colorA=444444&colorB=4F44D6)](https://t.co/8BEMyhpKU5?amp=1)
## Support
While being free and open source, if you find it useful, please consider supporting it by donating via PayPal or Open Collective. If you are using it in office as a team, please ask your company to support us via Open Collective from just 2\$ per month!
<table align="center" width="60%" border="0">
<tr>
<td>
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=4W3EWHHBSYMM8&lc=IE&item_name=Code%20Settings%20Sync&item_number=visual%20studio%20code%20settings%20sync&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted">
<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif"/>
</a>
<br>
</td>
<td>
<a href="https://opencollective.com/code-settings-sync/order/3848" target="_blank">
<img src="https://opencollective.com/webpack/donate/button.png?color=blue" width=200 />
</a>
<br>
*2$ Per Month
</td>
</tr>
</table>
<br>
<a href="https://join.slack.com/t/codesettingssync/shared_invite/enQtNzQyODMzMzI5MDQ3LWNmZjVkZjE2YTg0MzY1Y2EyYzVmYThmNzg2YjZkNjhhZWY3ZTEzN2I3ZTAxMjkwNWU0ZjMyZGFhMjdiZDI3ODU">
<img src="https://i.imgur.com/1QWdtcX.png" alt="Drawing" style="width: 150px;"/>
</a>
<br>
<br>
**Type Sync in command Palette in order to view all commands.**
## Key Features
```
1. Use your GitHub account token and Gist.
2. Easy to Upload and Download on one click.
3. Show a summary page at the end with details about config and extensions effected.
4. Auto download Latest Settings on Startup.
5. Auto upload Settings on file change.
6. Share the Gist with other users and let them download your settings.
7. Supports GitHub Enterprise
8. Support pragmas with @sync keywords: host, os and env are supported.
9. GUI for changing settings / logging in
10. Allows you to Sync any file across your machines.
```
## It Syncs
```
All extensions and complete User Folder that Contains
1. Settings File
2. Keybinding File
3. Launch File
4. Snippets Folder
5. VSCode Extensions & Extensions Configurations
6. Workspaces Folder
```
## Shortcuts
```
1. Upload Key : Shift + Alt + U
2. Download Key : Shift + Alt + D
(on macOS: Shift + Option + U / Shift + Option + D)
```
## Configure Settings Sync
Settings Sync Configuration page will be opened automatically on code start and requires two things to setup:
1. GitHub Token
2. GitHub Gist Id
GitHub Token needs to be retrived by your GitHub account while Settings Sync creates GIST if you are first time user.
Following are the steps you need to perform to configure.
- Click on `Login with GitHub` .
- Login GitHub on Browser and close the browser tab once you get Success message.
- If you are using Settings Sync first time GIST will be created automatically when you upload your settings.
- If you already have GitHub Gist, new window will be opened to allow you to select the GitHub Gist or `Skip` to create new Gist.
![Login with GitHub](https://shanalikhan.github.io/img/login-with-github.png)
![Existing Gist](https://shanalikhan.github.io/img/existing-gist.png)
You can always **verify created gist** by going to `https://gist.github.com` and checking for a gist named `cloudSettings`
## Upload Your Settings
**Press Shift + Alt + U** (macOS: Shift + Option + U)
> Type ">Sync" In Command Palette into order download / upload
When downloading or uploading for the first time, the welcome page will automatically open, where you can configure the Settings Sync.
Once you select upload, after uploading the settings. You will see the Summary details with the list of each files and extensions uploaded.
## Download your Settings
**Press Shift + Alt + D** (macOS: Shift + Option + D)
> Type ">Sync" In Command Palette into order download / upload
When downloading or uploading for the first time, the welcome page will automatically open, where you can configure the Settings Sync.
Once you select download, after downloading. Settings Sync will display you Summary containing the list of each files and extension being downloaded.
New popup will be opened to allow you to restart the code to apply the settings.
## Reset Extension Settings
> Select **"> Sync : Reset Extension Settings"** in the Command Palette to reset your settings
## Settings
Settings can be changed through the settings page, which can be accessed through **"> Sync : Advanced Options > Open Settings Page"**
There are two types of settings in Settings Sync.
I will recommend you to read the configurations details [here](https://dev.to/shanalikhan/visual-studio-code-settings-sync-configurations-mn0).
### Gist Settings
Gist Settings are stored in `settings.json` file of Code.
You can customize the settings in gist settings like:
```
1. Configure Gist Id (Environment)
2. Configure auto upload / download for GitHub Gist
3. Configure extension sync behaviour
4. Configure force download
4. Configure force upload
6. Configure quiet sync
```
```json
"sync.gist": "0c929b1a6c51015cdc9e0fe2e369ea4c",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": false,
"sync.forceUpload": false,
"sync.quietSync": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true
```
### Global Settings
Global settings are present in `syncLocalSettings.json` inside `User` folder. These settings will be shared across multiple Gist Environments.
You can customize the sync:
```
1. Options by which files / folders and settings to exclude from upload.
2. Configure default Gist Environment name.
3. Replace the code settings after downloading.
4. Change the Gist description while creating new one in github.
5. Configure GitHub Enterprise Url
```
```json
{
"ignoreUploadFiles": [
"state.*",
"syncLocalSettings.json",
".DS_Store",
"sync.lock",
"projects.json",
"projects_cache_vscode.json",
"projects_cache_git.json",
"projects_cache_svn.json",
"gpm_projects.json",
"gpm-recentItems.json"
],
"ignoreUploadFolders": [
"workspaceStorage"
],
"ignoreExtensions": [],
"gistDescription": "Visual Studio Code Settings Sync Gist",
"version": 340,
"token": "YOUR_GITHUB_TOKEN",
"downloadPublicGist": false,
"supportedFileExtensions": [ "json", "code-snippets" ],
"openTokenLink": true,
"disableUpdateMessage": false,
"lastUpload": null,
"lastDownload": null,
"githubEnterpriseUrl": null,
"askGistDescription": false,
"customFiles": {},
"hostName": null,
"universalKeybindings": false,
"autoUploadDelay": 20
}
```
I will recommend you to read the configurations details [here](https://dev.to/shanalikhan/visual-studio-code-settings-sync-configurations-mn0).
## Features
### Toggle Auto-Upload on change
Auto-upload is **disabled by default**. When the settings are changed and saved this feature will automatically start the upload process and save the settings online.
Please make sure you have valid github Token and Gist available to make it work properly.
Select Command **"Sync : Advanced Options > Toggle Auto-Upload on Settings Change"** command to Turn ON / OFF the auto-upload.
### Toggle Auto Download
Auto Download is **disabled by default**. It will sync all the setting by default when the editor starts.
Please make sure you have valid github Token and Gist available to make it work properly.
Select Command **"Sync : Advanced Options > Toggle Auto-Download On Startup"** command to Turn ON / OFF the auto download.
### Toggle Force Download
Force Download is **disabled by default**. By default, extension won't download the latest settings if you already have the latest downloaded version, but sometimes when you delete some extension locally and don't upload the settings it will still show that you have latest versions by date or time checks, by turning this ON it will always download the cloud settings on startup.
Please make sure you have valid github Token and Gist available to make it work properly.
Select Command **"Sync : Advanced Options > Toggle Force Download"** command to Turn ON / OFF the force download.
### Toggle Force Upload
Force Upload is **disabled by default**. By default, extension won't upload the settings if the gist has newer or identical content. By turning this ON it will always upload without checking for newer settings in the gist.
Please make sure you have valid github Token and Gist available to make it work properly.
Select Command **"Sync : Advanced Options > Toggle Force Upload"** command to Turn ON / OFF the force upload.
### Toggle Summary
Summary is **enabled by default** which shows all files and extensions that are added or deleted on a single page.
You may turn it off in order to make a upload and download process clean and quiet.
Select Command **"Sync : Advanced Options > Show Summary Page On Upload / Download"** command to Turn ON / OFF the auto download.
### Custom Sync
Settings Sync allows you to sync the files other from `User` folder. For example, your workspace settings and much more. Its upon you to utilize the full potential of Settings Sync across your machines or your teams machines. Read about custom sync [here](https://github.com/shanalikhan/code-settings-sync/wiki/Custom-Sync).
### Sync Pragmas
You can even manage which settings you want to ignore from being upload or download. Settings Sync even allows you to manage your `home` and `office` computer specific settings even OS related settings in single GitHub Gist. Read details about [Sync Pragmas here](https://github.com/shanalikhan/code-settings-sync/wiki/Sync-Pragmas).
### Share Settings Across Teams & Users
If you are looking to share your settings. Read the details [here](https://dev.to/shanalikhan/how-to-share-your-visual-studio-code-settings-and-extensions-39k). Settings Sync needs to create new Public GitHub Gist to share your settings with other users.
### Troubleshooting
If you ever get into problem while setting up the Settings Sync. You can check our troubleshooting guide that cover those scenarios [here](https://github.com/shanalikhan/code-settings-sync/wiki/Troubleshooting), you can also add your solution there if its not available there to help other users.
## How To Contribute
You can contribute in different ways. Read the details [here](https://github.com/shanalikhan/code-settings-sync/blob/master/CONTRIBUTING.md)
**Fix and Earn** - You can also earn money by fixing the issues - Check the issues under bounty program [here](https://github.com/shanalikhan/code-settings-sync/labels/bounty).
## Credits
### Contributors
Thank you to all the people who have already contributed to Settings Sync!
<a href="https://github.com/shanalikhan/code-settings-sync/graphs/contributors"><img src="https://opencollective.com/code-settings-sync/contributors.svg?width=890" /></a>
### Backers
Thank you to all our backers! [[Become a backer](https://opencollective.com/code-settings-sync#backer)]
<a href="https://opencollective.com/code-settings-sync#backers" target="_blank"><img src="https://opencollective.com/code-settings-sync/backers.svg?width=890"></a>
[<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif">](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=4W3EWHHBSYMM8&lc=IE&item_name=Code%20Settings%20Sync&item_number=visual%20studio%20code%20settings%20sync&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
### Sponsors
Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/code-settings-sync))
## [Contributors](https://github.com/shanalikhan/code-settings-sync/graphs/contributors)
# [Release Notes](https://shanalikhan.github.io/2016/05/14/Visual-studio-code-sync-settings-release-notes.html)
# License
[![Version](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/shanalikhan/code-settings-sync/blob/master/LICENSE)
[![Version](https://vsmarketplacebadge.apphb.com/version/Shan.code-settings-sync.svg)](https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync)
[![Installs](https://vsmarketplacebadge.apphb.com/installs/Shan.code-settings-sync.svg)](https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync)
[![Ratings](https://vsmarketplacebadge.apphb.com/rating/Shan.code-settings-sync.svg)](https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync)
[![Master course](https://img.shields.io/badge/Supported%20by-VSCode%20Power%20User%20Course%20%E2%86%92-gray.svg?colorA=444444&colorB=4F44D6)](https://t.co/8BEMyhpKU5?amp=1)
<a href="https://join.slack.com/t/codesettingssync/shared_invite/enQtNzQyODMzMzI5MDQ3LWNmZjVkZjE2YTg0MzY1Y2EyYzVmYThmNzg2YjZkNjhhZWY3ZTEzN2I3ZTAxMjkwNWU0ZjMyZGFhMjdiZDI3ODU">
<img src="https://shanalikhan.github.io/img/slack.PNG" alt="Drawing" style="width: 150px;"/>
</a>

+ 45
- 0
extensions/shan.code-settings-sync-3.4.3/configs/webpack.config.js View File

@ -0,0 +1,45 @@
"use strict";
const path = require("path");
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
/** @type WebpackOptions */
const config = {
stats: {
warningsFilter: /Critical dependency: the request of a dependency is an expression/
},
target: "node",
entry: "./src/extension.ts",
output: {
filename: "extension.js",
path: path.resolve(__dirname, "../out"),
libraryTarget: "commonjs2",
devtoolModuleFilenameTemplate: "file:///[absolute-resource-path]"
},
resolve: {
extensions: [".ts", ".js"],
alias: {
deepmerge$: path.resolve(
__dirname,
"../node_modules/deepmerge/dist/umd.js"
)
}
},
module: {
rules: [
{
test: /\.ts$/,
exclude: /node_modules/,
loader: "ts-loader"
}
]
},
externals: {
vscode: "commonjs vscode",
"vscode-fsevents": "commonjs vscode-fsevents",
"original-fs": "commonjs original-fs"
},
plugins: [new CleanWebpackPlugin()]
};
module.exports = config;

+ 9
- 0
extensions/shan.code-settings-sync-3.4.3/configs/webpack.development.config.js View File

@ -0,0 +1,9 @@
"use strict";
const merge = require('webpack-merge');
const common = require('./webpack.config.js');
module.exports = merge(common, {
mode: 'development',
devtool: 'source-map'
});

+ 11
- 0
extensions/shan.code-settings-sync-3.4.3/configs/webpack.production.config.js View File

@ -0,0 +1,11 @@
"use strict";
const merge = require('webpack-merge');
const common = require('./webpack.config.js');
module.exports = merge(common, {
mode: 'production',
optimization: {
minimize: true
}
});

BIN
extensions/shan.code-settings-sync-3.4.3/images/existing-gist.png View File

Before After
Width: 1162  |  Height: 562  |  Size: 85 KiB

BIN
extensions/shan.code-settings-sync-3.4.3/images/login-with-github.png View File

Before After
Width: 1174  |  Height: 870  |  Size: 152 KiB

BIN
extensions/shan.code-settings-sync-3.4.3/images/logo-128.png View File

Before After
Width: 128  |  Height: 128  |  Size: 4.6 KiB

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save