├── .editorconfig ├── .eslintignore ├── .eslintrc.json ├── .github ├── CODE_OF_CONDUCT.md ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── test.yml ├── .gitignore ├── .prettierignore ├── .vscode ├── extensions.json ├── launch.json ├── settings.json └── tasks.json ├── .vscodeignore ├── CHANGELOG.md ├── DEVELOPER.md ├── EditorConfig_icon.png ├── LICENSE.md ├── README.md ├── ThirdPartyNotices.txt ├── editorconfig.language-configuration.json ├── package.json ├── src ├── DefaultTemplate.editorconfig ├── DocumentWatcher.ts ├── EditorConfigCompletionProvider.ts ├── api.ts ├── commands │ └── generateEditorConfig.ts ├── editorConfigMain.ts ├── test │ ├── .eslintrc.json │ ├── runTest.ts │ ├── suite │ │ ├── api.test.ts │ │ ├── fixtures │ │ │ ├── .editorconfig │ │ │ ├── detect-indentation │ │ │ │ ├── .editorconfig │ │ │ │ ├── root │ │ │ │ │ ├── .editorconfig │ │ │ │ │ ├── indent-style-space │ │ │ │ │ └── indent-style-tab │ │ │ │ ├── tab_width │ │ │ │ │ ├── .editorconfig │ │ │ │ │ ├── indent-style-space │ │ │ │ │ └── indent-style-tab │ │ │ │ └── unset │ │ │ │ │ ├── .editorconfig │ │ │ │ │ ├── indent-style-space │ │ │ │ │ └── indent-style-tab │ │ │ ├── end_of_line │ │ │ │ ├── crlf │ │ │ │ │ └── .editorconfig │ │ │ │ ├── lf │ │ │ │ │ └── .editorconfig │ │ │ │ └── unset │ │ │ │ │ └── .editorconfig │ │ │ ├── folder │ │ │ │ ├── .editorconfig │ │ │ │ ├── tab-width-2 │ │ │ │ ├── tab-width-3 │ │ │ │ ├── tab-width-4 │ │ │ │ └── tab-width-x │ │ │ ├── indent-size-2 │ │ │ ├── indent-size-3 │ │ │ ├── indent-size-4 │ │ │ ├── insert_final_newline │ │ │ │ ├── false │ │ │ │ │ └── .editorconfig │ │ │ │ ├── true │ │ │ │ │ └── .editorconfig │ │ │ │ ├── unset-2 │ │ │ │ │ └── .editorconfig │ │ │ │ └── unset │ │ │ │ │ └── .editorconfig │ │ │ ├── tab-width-2 │ │ │ ├── tab-width-3 │ │ │ ├── tab-width-4 │ │ │ ├── tab-width-x │ │ │ └── trim_trailing_whitespace │ │ │ │ ├── false │ │ │ │ └── .editorconfig │ │ │ │ ├── true │ │ │ │ └── .editorconfig │ │ │ │ └── unset │ │ │ │ └── .editorconfig │ │ ├── index.test.ts │ │ └── index.ts │ ├── testUtils.ts │ └── untitled-suite │ │ ├── fixtures │ │ └── untitled │ │ │ └── .editorconfig │ │ ├── index.test.ts │ │ └── index.ts └── transformations │ ├── InsertFinalNewline.ts │ ├── PreSaveTransformation.ts │ ├── SetEndOfLine.ts │ ├── TrimTrailingWhitespace.ts │ └── index.ts ├── syntaxes └── editorconfig.tmLanguage.json └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | out/ 2 | src/test/suite/fixtures/ 3 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | out/ 2 | src/test/suite/fixtures/ 3 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /.vscodeignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/.vscodeignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /DEVELOPER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/DEVELOPER.md -------------------------------------------------------------------------------- /EditorConfig_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/EditorConfig_icon.png -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/README.md -------------------------------------------------------------------------------- /ThirdPartyNotices.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/ThirdPartyNotices.txt -------------------------------------------------------------------------------- /editorconfig.language-configuration.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/editorconfig.language-configuration.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/package.json -------------------------------------------------------------------------------- /src/DefaultTemplate.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/DefaultTemplate.editorconfig -------------------------------------------------------------------------------- /src/DocumentWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/DocumentWatcher.ts -------------------------------------------------------------------------------- /src/EditorConfigCompletionProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/EditorConfigCompletionProvider.ts -------------------------------------------------------------------------------- /src/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/api.ts -------------------------------------------------------------------------------- /src/commands/generateEditorConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/commands/generateEditorConfig.ts -------------------------------------------------------------------------------- /src/editorConfigMain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/editorConfigMain.ts -------------------------------------------------------------------------------- /src/test/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/.eslintrc.json -------------------------------------------------------------------------------- /src/test/runTest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/runTest.ts -------------------------------------------------------------------------------- /src/test/suite/api.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/api.test.ts -------------------------------------------------------------------------------- /src/test/suite/fixtures/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/.editorconfig -------------------------------------------------------------------------------- /src/test/suite/fixtures/detect-indentation/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/detect-indentation/.editorconfig -------------------------------------------------------------------------------- /src/test/suite/fixtures/detect-indentation/root/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | -------------------------------------------------------------------------------- /src/test/suite/fixtures/detect-indentation/root/indent-style-space: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/detect-indentation/root/indent-style-space -------------------------------------------------------------------------------- /src/test/suite/fixtures/detect-indentation/root/indent-style-tab: -------------------------------------------------------------------------------- 1 | foo 2 | bar 3 | baz 4 | qux 5 | -------------------------------------------------------------------------------- /src/test/suite/fixtures/detect-indentation/tab_width/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/detect-indentation/tab_width/.editorconfig -------------------------------------------------------------------------------- /src/test/suite/fixtures/detect-indentation/tab_width/indent-style-space: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/detect-indentation/tab_width/indent-style-space -------------------------------------------------------------------------------- /src/test/suite/fixtures/detect-indentation/tab_width/indent-style-tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/detect-indentation/tab_width/indent-style-tab -------------------------------------------------------------------------------- /src/test/suite/fixtures/detect-indentation/unset/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/detect-indentation/unset/.editorconfig -------------------------------------------------------------------------------- /src/test/suite/fixtures/detect-indentation/unset/indent-style-space: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/detect-indentation/unset/indent-style-space -------------------------------------------------------------------------------- /src/test/suite/fixtures/detect-indentation/unset/indent-style-tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/detect-indentation/unset/indent-style-tab -------------------------------------------------------------------------------- /src/test/suite/fixtures/end_of_line/crlf/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = crlf 5 | -------------------------------------------------------------------------------- /src/test/suite/fixtures/end_of_line/lf/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = lf 5 | -------------------------------------------------------------------------------- /src/test/suite/fixtures/end_of_line/unset/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = unset 5 | -------------------------------------------------------------------------------- /src/test/suite/fixtures/folder/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/folder/.editorconfig -------------------------------------------------------------------------------- /src/test/suite/fixtures/folder/tab-width-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/folder/tab-width-2 -------------------------------------------------------------------------------- /src/test/suite/fixtures/folder/tab-width-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/folder/tab-width-3 -------------------------------------------------------------------------------- /src/test/suite/fixtures/folder/tab-width-4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/folder/tab-width-4 -------------------------------------------------------------------------------- /src/test/suite/fixtures/folder/tab-width-x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/folder/tab-width-x -------------------------------------------------------------------------------- /src/test/suite/fixtures/indent-size-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/indent-size-2 -------------------------------------------------------------------------------- /src/test/suite/fixtures/indent-size-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/indent-size-3 -------------------------------------------------------------------------------- /src/test/suite/fixtures/indent-size-4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/indent-size-4 -------------------------------------------------------------------------------- /src/test/suite/fixtures/insert_final_newline/false/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | insert_final_newline = false 5 | -------------------------------------------------------------------------------- /src/test/suite/fixtures/insert_final_newline/true/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/insert_final_newline/true/.editorconfig -------------------------------------------------------------------------------- /src/test/suite/fixtures/insert_final_newline/unset-2/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | insert_final_newline = unset 5 | -------------------------------------------------------------------------------- /src/test/suite/fixtures/insert_final_newline/unset/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | insert_final_newline = unset 5 | -------------------------------------------------------------------------------- /src/test/suite/fixtures/tab-width-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/tab-width-2 -------------------------------------------------------------------------------- /src/test/suite/fixtures/tab-width-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/tab-width-3 -------------------------------------------------------------------------------- /src/test/suite/fixtures/tab-width-4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/tab-width-4 -------------------------------------------------------------------------------- /src/test/suite/fixtures/tab-width-x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/tab-width-x -------------------------------------------------------------------------------- /src/test/suite/fixtures/trim_trailing_whitespace/false/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | trim_trailing_whitespace = false 5 | -------------------------------------------------------------------------------- /src/test/suite/fixtures/trim_trailing_whitespace/true/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/fixtures/trim_trailing_whitespace/true/.editorconfig -------------------------------------------------------------------------------- /src/test/suite/fixtures/trim_trailing_whitespace/unset/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | trim_trailing_whitespace = unset 5 | -------------------------------------------------------------------------------- /src/test/suite/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/index.test.ts -------------------------------------------------------------------------------- /src/test/suite/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/suite/index.ts -------------------------------------------------------------------------------- /src/test/testUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/testUtils.ts -------------------------------------------------------------------------------- /src/test/untitled-suite/fixtures/untitled/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/untitled-suite/fixtures/untitled/.editorconfig -------------------------------------------------------------------------------- /src/test/untitled-suite/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/untitled-suite/index.test.ts -------------------------------------------------------------------------------- /src/test/untitled-suite/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/test/untitled-suite/index.ts -------------------------------------------------------------------------------- /src/transformations/InsertFinalNewline.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/transformations/InsertFinalNewline.ts -------------------------------------------------------------------------------- /src/transformations/PreSaveTransformation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/transformations/PreSaveTransformation.ts -------------------------------------------------------------------------------- /src/transformations/SetEndOfLine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/transformations/SetEndOfLine.ts -------------------------------------------------------------------------------- /src/transformations/TrimTrailingWhitespace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/transformations/TrimTrailingWhitespace.ts -------------------------------------------------------------------------------- /src/transformations/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/src/transformations/index.ts -------------------------------------------------------------------------------- /syntaxes/editorconfig.tmLanguage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/syntaxes/editorconfig.tmLanguage.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/editorconfig/editorconfig-vscode/HEAD/tsconfig.json --------------------------------------------------------------------------------