diff --git a/atom-extensions/atom-boot-java/.gitignore b/atom-extensions/atom-boot-java/.gitignore deleted file mode 100644 index 38d57c0ad..000000000 --- a/atom-extensions/atom-boot-java/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.idea/ -server/ -node_modules/ diff --git a/atom-extensions/atom-boot-java/.gitignore-release b/atom-extensions/atom-boot-java/.gitignore-release deleted file mode 100644 index 38d57c0ad..000000000 --- a/atom-extensions/atom-boot-java/.gitignore-release +++ /dev/null @@ -1,3 +0,0 @@ -.idea/ -server/ -node_modules/ diff --git a/atom-extensions/atom-boot-java/.travis.yml b/atom-extensions/atom-boot-java/.travis.yml deleted file mode 100644 index b7f7d0e84..000000000 --- a/atom-extensions/atom-boot-java/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: objective-c - -notifications: - email: - on_success: never - on_failure: change - -script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh' - -git: - depth: 10 - -branches: - only: - - master \ No newline at end of file diff --git a/atom-extensions/atom-boot-java/README.md b/atom-extensions/atom-boot-java/README.md deleted file mode 100644 index 66317756c..000000000 --- a/atom-extensions/atom-boot-java/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Atom package for Spring Boot projects __(Obsolete)__ - -It has been merged with Spring Boot Properties support and has moved to [Spring Boot](https://github.com/spring-projects/atom-spring-boot) diff --git a/atom-extensions/atom-boot-java/appveyor.yml b/atom-extensions/atom-boot-java/appveyor.yml deleted file mode 100644 index 9fa4278db..000000000 --- a/atom-extensions/atom-boot-java/appveyor.yml +++ /dev/null @@ -1,27 +0,0 @@ -version: "{build}" - -platform: x64 - -branches: - only: - - master - -clone_depth: 10 - -skip_tags: true - -environment: - APM_TEST_PACKAGES: - - matrix: - - ATOM_CHANNEL: stable - - ATOM_CHANNEL: beta - -install: - - ps: Install-Product node 6 - -build_script: - - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/atom/ci/master/build-package.ps1')) - -test: off -deploy: off \ No newline at end of file diff --git a/atom-extensions/atom-boot-java/lib/main.js b/atom-extensions/atom-boot-java/lib/main.js deleted file mode 100644 index c981b144c..000000000 --- a/atom-extensions/atom-boot-java/lib/main.js +++ /dev/null @@ -1,39 +0,0 @@ -const {AutoLanguageClient} = require('atom-languageclient'); - -class BootJavaLanguageClient extends AutoLanguageClient { - - constructor() { - super(); - } - - getGrammarScopes() { - return []; - } - - getLanguageName() { - return 'boot-java'; - } - - getServerName() { - return 'Spring Boot'; - } - - activate() { - const notification = atom.notifications.addInfo('`boot-java` Extension __NOT__ Functional', { - dismissable: true, - detail: '`boot-java` extension starting from 0.1.4 is obsolete', - description: 'The `boot-java` extension is obsolete and no longer functional. Please uninstall it and install the `spring-boot` extension instead.', - buttons: [{ - text: 'OK', - onDidClick: () => { - notification.dismiss(); - } - }] - }); - super.activate(); - } - -} - - -module.exports = new BootJavaLanguageClient(); diff --git a/atom-extensions/atom-boot-java/package.json b/atom-extensions/atom-boot-java/package.json deleted file mode 100644 index 9beb18376..000000000 --- a/atom-extensions/atom-boot-java/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "boot-java", - "main": "./lib/main", - "version": "0.1.4", - "description": "Spring Boot support for Atom", - "repository": "https://github.com/spring-projects/atom-boot-java", - "icon": "icon.png", - "license": "MIT", - "engines": { - "atom": ">=1.21.0" - }, - "files": [ - "lib/" - ], - "dependencies": { - "atom-languageclient": "0.8.0" - }, - "scripts": { - "clean": "rm -fr node_modules" - } -} diff --git a/atom-extensions/atom-boot-properties/.gitignore b/atom-extensions/atom-boot-properties/.gitignore deleted file mode 100644 index 38d57c0ad..000000000 --- a/atom-extensions/atom-boot-properties/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.idea/ -server/ -node_modules/ diff --git a/atom-extensions/atom-boot-properties/.gitignore-release b/atom-extensions/atom-boot-properties/.gitignore-release deleted file mode 100644 index 38d57c0ad..000000000 --- a/atom-extensions/atom-boot-properties/.gitignore-release +++ /dev/null @@ -1,3 +0,0 @@ -.idea/ -server/ -node_modules/ diff --git a/atom-extensions/atom-boot-properties/.travis.yml b/atom-extensions/atom-boot-properties/.travis.yml deleted file mode 100644 index b7f7d0e84..000000000 --- a/atom-extensions/atom-boot-properties/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: objective-c - -notifications: - email: - on_success: never - on_failure: change - -script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh' - -git: - depth: 10 - -branches: - only: - - master \ No newline at end of file diff --git a/atom-extensions/atom-boot-properties/README.md b/atom-extensions/atom-boot-properties/README.md deleted file mode 100644 index 16e21ac02..000000000 --- a/atom-extensions/atom-boot-properties/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Atom package and Language Server for Spring Boot Application Properties __(Obsolete)__ - -It has been merged with Spring Boot support and has moved to [Spring Boot](https://github.com/spring-projects/atom-spring-boot) diff --git a/atom-extensions/atom-boot-properties/appveyor.yml b/atom-extensions/atom-boot-properties/appveyor.yml deleted file mode 100644 index 9fa4278db..000000000 --- a/atom-extensions/atom-boot-properties/appveyor.yml +++ /dev/null @@ -1,27 +0,0 @@ -version: "{build}" - -platform: x64 - -branches: - only: - - master - -clone_depth: 10 - -skip_tags: true - -environment: - APM_TEST_PACKAGES: - - matrix: - - ATOM_CHANNEL: stable - - ATOM_CHANNEL: beta - -install: - - ps: Install-Product node 6 - -build_script: - - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/atom/ci/master/build-package.ps1')) - -test: off -deploy: off \ No newline at end of file diff --git a/atom-extensions/atom-boot-properties/lib/main.js b/atom-extensions/atom-boot-properties/lib/main.js deleted file mode 100644 index 87ba746be..000000000 --- a/atom-extensions/atom-boot-properties/lib/main.js +++ /dev/null @@ -1,38 +0,0 @@ -const {AutoLanguageClient} = require('atom-languageclient'); - -class BootPropertiesClient extends AutoLanguageClient { - - constructor() { - super(); - } - - getGrammarScopes() { - return []; - } - - getLanguageName() { - return 'Boot-Properties'; - } - - getServerName() { - return 'Boot-Properties'; - } - - activate() { - const notification = atom.notifications.addInfo('`boot-properties` Extension __NOT__ Functional', { - dismissable: true, - detail: '`boot-properties` extension starting from 0.1.4 is obsolete', - description: 'The `boot-properties` extension is obsolete and no longer functional. Please uninstall it and install the `spring-boot` extension instead.', - buttons: [{ - text: 'OK', - onDidClick: () => { - notification.dismiss(); - } - }] - }); - super.activate(); - } - -} - -module.exports = new BootPropertiesClient(); diff --git a/atom-extensions/atom-boot-properties/package.json b/atom-extensions/atom-boot-properties/package.json deleted file mode 100644 index 36ed4f61e..000000000 --- a/atom-extensions/atom-boot-properties/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "boot-properties", - "main": "./lib/main", - "version": "0.1.4", - "description": "Spring Boot Properties support for Atom", - "repository": "https://github.com/spring-projects/atom-boot-properties", - "icon": "icon.png", - "license": "MIT", - "engines": { - "atom": ">=1.21.0" - }, - "files": [ - "lib/" - ], - "dependencies": { - "atom-languageclient": "0.8.0" - }, - "scripts": { - "clean": "rm -fr node_modules" - } -} diff --git a/headless-services/boot-java-language-server/.project b/headless-services/boot-java-language-server/.project deleted file mode 100644 index 5780fd770..000000000 --- a/headless-services/boot-java-language-server/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - boot-java-language-server - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.springframework.ide.eclipse.boot.validation.springbootbuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.m2e.core.maven2Nature - - diff --git a/headless-services/boot-properties-language-server/.project b/headless-services/boot-properties-language-server/.project deleted file mode 100644 index 96deb8498..000000000 --- a/headless-services/boot-properties-language-server/.project +++ /dev/null @@ -1,23 +0,0 @@ - - - boot-properties-language-server - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.m2e.core.maven2Nature - - diff --git a/vscode-extensions/vscode-boot-java/.gitignore b/vscode-extensions/vscode-boot-java/.gitignore deleted file mode 100644 index e0fd3a462..000000000 --- a/vscode-extensions/vscode-boot-java/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -out -node_modules -target -*.log -*.log.* -classpath.txt -*.vsix -repo -.idea -*.iml -.DS_Store -**/.DS_Store -src/test/resources/test-projects/**/.classpath -src/test/resources/test-projects/**/.project -src/test/resources/test-projects/**/.factorypath -src/test/resources/test-projects/**/.settings/** -src/test/resources/test-projects/**/bin/** \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-java/.vscode/launch.json b/vscode-extensions/vscode-boot-java/.vscode/launch.json deleted file mode 100644 index 50d3b7d61..000000000 --- a/vscode-extensions/vscode-boot-java/.vscode/launch.json +++ /dev/null @@ -1,17 +0,0 @@ -// A launch configuration that compiles the extension and then opens it inside a new window -{ - "version": "0.1.0", - "configurations": [ - { - "name": "Extension", - "type": "extensionHost", - "request": "launch", - "runtimeExecutable": "${execPath}", - "args": ["--extensionDevelopmentPath=${workspaceRoot}" ], - "stopOnEntry": true, - "sourceMaps": true, - "outFiles": [ "${workspaceRoot}/out/**/*.js" ], - "preLaunchTask": "npm: watch" - } - ] -} \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-java/.vscode/settings.json b/vscode-extensions/vscode-boot-java/.vscode/settings.json deleted file mode 100644 index 6ec5515d8..000000000 --- a/vscode-extensions/vscode-boot-java/.vscode/settings.json +++ /dev/null @@ -1,12 +0,0 @@ -// Place your settings in this file to overwrite default and user settings. -{ - "files.exclude": { - "out": false, // set this to true to hide the "out" folder with the compiled JS files - "node_modules": false, - "target": true - }, - "search.exclude": { - "out": true // set this to false to include "out" folder in search results - }, - "typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version -} \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-java/.vscode/tasks.json b/vscode-extensions/vscode-boot-java/.vscode/tasks.json deleted file mode 100644 index 604e38f5a..000000000 --- a/vscode-extensions/vscode-boot-java/.vscode/tasks.json +++ /dev/null @@ -1,20 +0,0 @@ -// See https://go.microsoft.com/fwlink/?LinkId=733558 -// for the documentation about the tasks.json format -{ - "version": "2.0.0", - "tasks": [ - { - "type": "npm", - "script": "watch", - "problemMatcher": "$tsc-watch", - "isBackground": true, - "presentation": { - "reveal": "never" - }, - "group": { - "kind": "build", - "isDefault": true - } - } - ] -} \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-java/.vscodeignore b/vscode-extensions/vscode-boot-java/.vscodeignore deleted file mode 100644 index f7be2f963..000000000 --- a/vscode-extensions/vscode-boot-java/.vscodeignore +++ /dev/null @@ -1,29 +0,0 @@ -# IDE configs -.vscode/** -.idea/** -*.iml -javaconfig.json -classpath.txt -tsconfig.json -tsd.json -*.xml - -# Logs -*.log* - -# Sources -typings/** -src/** -test/** -lib/** -!lib/javaconfig.schema.json -repo/** -scripts/** - -# Compiler output -out/test/** -target/** - -# Extensions -.gitignore -**/*.map diff --git a/vscode-extensions/vscode-boot-java/DEVELOPER-NOTES.md b/vscode-extensions/vscode-boot-java/DEVELOPER-NOTES.md deleted file mode 100644 index cf924f168..000000000 --- a/vscode-extensions/vscode-boot-java/DEVELOPER-NOTES.md +++ /dev/null @@ -1,60 +0,0 @@ -# Developer notes - -## Bulding and Running - -This project consists of three pieces: - - - a vscode-extension which is a language-server client implemented in TypeScript. - - commons-vscode: a local npm module with some utilities implemented in TypeScript. - - a language server implemented in Java. - -To build all these pieces you normally only need to run: - - npm install - -**However, the first time you build** it might fail trying to -find the `commons-vscode` module on npm central. Once we publish a stable -version of that module on npm central that will no longer be a problem. -Until that time, you can work around this by doing a one time manual -run of the `preinstall` script prior to running `npm install`: - - ./scripts/preinstall.sh - npm install - -Now you can open the client-app in vscode. From the root of this project. - - code . - -To launch the language server in a vscode runtime, press F5. - -## Debugging - -### Method 1: attach remote debugger to Language Server - -To debug the language server, open `lib/Main.ts` and edit to set the -`DEBUG` option to `true`. When you launch the app next by pressing -`F5` it will launch with debug options being passed to the server JVM. - -You can then connect a 'Remote Java' debugger on port 8000. - -### Method 2: Launch a 'standalone' Language Server - -To debug the language server, open `lib/Main.ts` and edit to set the -`CONNECT_TO_LS` option to `true`. When you launch the app next by pressing -`F5`... When it needs a language server it not launch a process but instead -try to connect to an already running server on port `5007`. It is up to you -to ensure a server is running on that port by launching it beforehand -with a commandline arguments: `-Dstandalone-startup=true`. - -## Packaging as a vscode extension - -First make sure the stuff is all built locally: - - ./scripts/preinstall.sh # only needed if this is the first build. - npm install - -Then package it: - - npm run vsce-package - -This produces a `.vsix` file which you can install directly into vscode. \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-java/README.md b/vscode-extensions/vscode-boot-java/README.md deleted file mode 100644 index 438de70a5..000000000 --- a/vscode-extensions/vscode-boot-java/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# VS Code Language Server for Spring Boot Java Support - -**This vscode extension is obsolete**. It has been replaced by the `vscode-spring-boot` extension -which combines Spring Boot support for `.java`, `.properties` and `.yml` in a single -extension. diff --git a/vscode-extensions/vscode-boot-java/lib/.gitignore b/vscode-extensions/vscode-boot-java/lib/.gitignore deleted file mode 100644 index a6c7c2852..000000000 --- a/vscode-extensions/vscode-boot-java/lib/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.js diff --git a/vscode-extensions/vscode-boot-java/lib/Main.ts b/vscode-extensions/vscode-boot-java/lib/Main.ts deleted file mode 100644 index eb199cf1c..000000000 --- a/vscode-extensions/vscode-boot-java/lib/Main.ts +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -import * as VSCode from 'vscode'; - -/** Called when extension is activated */ -export function activate(context: VSCode.ExtensionContext) { - VSCode.window.showInformationMessage( - "The `vscode-boot-java` extension is obsolete and no longer functional. "+ - "Please uninstall it and install the `vscode-spring-boot` extension instead." - ); -} diff --git a/vscode-extensions/vscode-boot-java/package.json b/vscode-extensions/vscode-boot-java/package.json deleted file mode 100644 index 313a3a459..000000000 --- a/vscode-extensions/vscode-boot-java/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "vscode-boot-java", - "displayName": "Spring Boot Java Support", - "description": "Provides validation, content assist, and more working with Spring Boot applications Java code", - "icon": "spring-boot-logo.png", - "version": "0.1.4", - "publisher": "Pivotal", - "repository": { - "type": "git", - "url": "https://github.com/spring-projects/sts4.git" - }, - "license": "EPL-1.0", - "engines": { - "npm": "^3.0.0", - "vscode": "^1.19.0" - }, - "categories": [ - "Languages", - "Linters" - ], - "keywords": [ - "java", - "spring-boot" - ], - "activationEvents": [ - "onLanguage:java" - ], - "main": "./out/lib/Main", - "scripts": { - "vscode:prepublish": "npm run compile", - "compile": "tsc -p ./", - "watch": "tsc -watch -p ./", - "clean": "rm -fr node_modules out *.vsix package-lock.json", - "postinstall": "node ./node_modules/vscode/bin/install", - "vsce-package": "vsce package" - }, - "dependencies": { - "vscode-languageclient": "^3.4.5" - }, - "devDependencies": { - "vsce": "^1.36.1", - "typescript": "2.6.1", - "@types/node": "^7.0.43", - "vscode": "^1.1.10" - } -} diff --git a/vscode-extensions/vscode-boot-java/readme-imgs/screenshot-code-completion.png b/vscode-extensions/vscode-boot-java/readme-imgs/screenshot-code-completion.png deleted file mode 100644 index 34b8d1fe9..000000000 Binary files a/vscode-extensions/vscode-boot-java/readme-imgs/screenshot-code-completion.png and /dev/null differ diff --git a/vscode-extensions/vscode-boot-java/readme-imgs/screenshot-live-apps-quick-access.png b/vscode-extensions/vscode-boot-java/readme-imgs/screenshot-live-apps-quick-access.png deleted file mode 100644 index 87733fe01..000000000 Binary files a/vscode-extensions/vscode-boot-java/readme-imgs/screenshot-live-apps-quick-access.png and /dev/null differ diff --git a/vscode-extensions/vscode-boot-java/readme-imgs/screenshot-live-hovers.png b/vscode-extensions/vscode-boot-java/readme-imgs/screenshot-live-hovers.png deleted file mode 100644 index 590e5d6f4..000000000 Binary files a/vscode-extensions/vscode-boot-java/readme-imgs/screenshot-live-hovers.png and /dev/null differ diff --git a/vscode-extensions/vscode-boot-java/readme-imgs/screenshot-navigation.png b/vscode-extensions/vscode-boot-java/readme-imgs/screenshot-navigation.png deleted file mode 100644 index a62d6b788..000000000 Binary files a/vscode-extensions/vscode-boot-java/readme-imgs/screenshot-navigation.png and /dev/null differ diff --git a/vscode-extensions/vscode-boot-java/spring-boot-logo.png b/vscode-extensions/vscode-boot-java/spring-boot-logo.png deleted file mode 100644 index 0ccdef63a..000000000 Binary files a/vscode-extensions/vscode-boot-java/spring-boot-logo.png and /dev/null differ diff --git a/vscode-extensions/vscode-boot-java/tsconfig.json b/vscode-extensions/vscode-boot-java/tsconfig.json deleted file mode 100644 index 1905ffea7..000000000 --- a/vscode-extensions/vscode-boot-java/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "moduleResolution": "node", - "target": "es6", - "lib": [ - "es6" - ], - "declaration": true, - "outDir": "out", - "sourceMap": true, - "rootDir": "." - }, - "include": [ - "typings/*.d.ts", - "lib/**/*.ts" - ], - "exclude": [ - "node_modules" - ] -} \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-properties/.gitignore b/vscode-extensions/vscode-boot-properties/.gitignore deleted file mode 100644 index e0fd3a462..000000000 --- a/vscode-extensions/vscode-boot-properties/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -out -node_modules -target -*.log -*.log.* -classpath.txt -*.vsix -repo -.idea -*.iml -.DS_Store -**/.DS_Store -src/test/resources/test-projects/**/.classpath -src/test/resources/test-projects/**/.project -src/test/resources/test-projects/**/.factorypath -src/test/resources/test-projects/**/.settings/** -src/test/resources/test-projects/**/bin/** \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-properties/.vscode/launch.json b/vscode-extensions/vscode-boot-properties/.vscode/launch.json deleted file mode 100644 index 07e1c6011..000000000 --- a/vscode-extensions/vscode-boot-properties/.vscode/launch.json +++ /dev/null @@ -1,31 +0,0 @@ -// A launch configuration that compiles the extension and then opens it inside a new window -{ - "version": "0.1.0", - "configurations": [ - { - "type": "extensionHost", - "request": "launch", - "name": "Launch Extension", - "runtimeExecutable": "${execPath}", - "args": [ - "--extensionDevelopmentPath=${workspaceRoot}" - ], - "sourceMaps": true, - "outFiles": [ - "${workspaceRoot}/out/**/*.js" - ], - "preLaunchTask": "npm" - }, - { - "name": "Launch Tests", - "type": "extensionHost", - "request": "launch", - "runtimeExecutable": "${execPath}", - "args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ], - "stopOnEntry": false, - "sourceMaps": true, - "outDir": "${workspaceRoot}/out/test", - "preLaunchTask": "npm" - } - ] -} diff --git a/vscode-extensions/vscode-boot-properties/.vscode/settings.json b/vscode-extensions/vscode-boot-properties/.vscode/settings.json deleted file mode 100644 index c5592bee9..000000000 --- a/vscode-extensions/vscode-boot-properties/.vscode/settings.json +++ /dev/null @@ -1,12 +0,0 @@ -// Place your settings in this file to overwrite default and user settings. -{ - "files.exclude": { - "out": true, // set this to true to hide the "out" folder with the compiled JS files - "node_modules": false, - "target": true - }, - "search.exclude": { - "out": true // set this to false to include "out" folder in search results - }, - "typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version -} \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-properties/.vscode/tasks.json b/vscode-extensions/vscode-boot-properties/.vscode/tasks.json deleted file mode 100644 index 1cbb9fd45..000000000 --- a/vscode-extensions/vscode-boot-properties/.vscode/tasks.json +++ /dev/null @@ -1,30 +0,0 @@ -// Available variables which can be used inside of strings. -// ${workspaceRoot}: the root folder of the team -// ${file}: the current opened file -// ${fileBasename}: the current opened file's basename -// ${fileDirname}: the current opened file's dirname -// ${fileExtname}: the current opened file's extension -// ${cwd}: the current working directory of the spawned process - -// A task runner that calls a custom npm script that compiles the extension. -{ - "version": "0.1.0", - - // we want to run npm - "command": "npm", - - // the command is a shell script - "isShellCommand": true, - - // show the output window only if unrecognized errors occur. - "showOutput": "silent", - - // we run the custom script "compile" as defined in package.json - "args": ["run", "compile"], //, "--loglevel", "silent"], - - // The tsc compiler is started in watching mode - "isWatching": true, - - // use the standard tsc in watch mode problem matcher to find compile problems in the output. - "problemMatcher": "$tsc-watch" -} \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-properties/.vscodeignore b/vscode-extensions/vscode-boot-properties/.vscodeignore deleted file mode 100644 index 37a538825..000000000 --- a/vscode-extensions/vscode-boot-properties/.vscodeignore +++ /dev/null @@ -1,30 +0,0 @@ -# IDE configs -.vscode/** -.idea/** -*.iml -javaconfig.json -classpath.txt -tsconfig.json -tsd.json -*.xml - -# Logs -*.log* - -# Sources -typings/** -src/** -test/** -lib/** -!lib/javaconfig.schema.json -repo/** -scripts/** - -# Compiler output -out/test/** -target/** -!target/vscode-boot-properties-*.jar - -# Extensions -.gitignore -**/*.map diff --git a/vscode-extensions/vscode-boot-properties/DEVELOPER-NOTES.md b/vscode-extensions/vscode-boot-properties/DEVELOPER-NOTES.md deleted file mode 100644 index cf924f168..000000000 --- a/vscode-extensions/vscode-boot-properties/DEVELOPER-NOTES.md +++ /dev/null @@ -1,60 +0,0 @@ -# Developer notes - -## Bulding and Running - -This project consists of three pieces: - - - a vscode-extension which is a language-server client implemented in TypeScript. - - commons-vscode: a local npm module with some utilities implemented in TypeScript. - - a language server implemented in Java. - -To build all these pieces you normally only need to run: - - npm install - -**However, the first time you build** it might fail trying to -find the `commons-vscode` module on npm central. Once we publish a stable -version of that module on npm central that will no longer be a problem. -Until that time, you can work around this by doing a one time manual -run of the `preinstall` script prior to running `npm install`: - - ./scripts/preinstall.sh - npm install - -Now you can open the client-app in vscode. From the root of this project. - - code . - -To launch the language server in a vscode runtime, press F5. - -## Debugging - -### Method 1: attach remote debugger to Language Server - -To debug the language server, open `lib/Main.ts` and edit to set the -`DEBUG` option to `true`. When you launch the app next by pressing -`F5` it will launch with debug options being passed to the server JVM. - -You can then connect a 'Remote Java' debugger on port 8000. - -### Method 2: Launch a 'standalone' Language Server - -To debug the language server, open `lib/Main.ts` and edit to set the -`CONNECT_TO_LS` option to `true`. When you launch the app next by pressing -`F5`... When it needs a language server it not launch a process but instead -try to connect to an already running server on port `5007`. It is up to you -to ensure a server is running on that port by launching it beforehand -with a commandline arguments: `-Dstandalone-startup=true`. - -## Packaging as a vscode extension - -First make sure the stuff is all built locally: - - ./scripts/preinstall.sh # only needed if this is the first build. - npm install - -Then package it: - - npm run vsce-package - -This produces a `.vsix` file which you can install directly into vscode. \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-properties/README.md b/vscode-extensions/vscode-boot-properties/README.md deleted file mode 100644 index 0a5fa0f4e..000000000 --- a/vscode-extensions/vscode-boot-properties/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# VS Code Language Server for Spring Boot Application Properties - -**This vscode extension is obsolete**. It has been replaced by the `vscode-spring-boot` extension -which combines Spring Boot support for `.java`, `.properties` and `.yml` in a single -extension. diff --git a/vscode-extensions/vscode-boot-properties/lib/.gitignore b/vscode-extensions/vscode-boot-properties/lib/.gitignore deleted file mode 100644 index a6c7c2852..000000000 --- a/vscode-extensions/vscode-boot-properties/lib/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.js diff --git a/vscode-extensions/vscode-boot-properties/lib/Main.ts b/vscode-extensions/vscode-boot-properties/lib/Main.ts deleted file mode 100644 index 8d4bc420d..000000000 --- a/vscode-extensions/vscode-boot-properties/lib/Main.ts +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -import * as VSCode from 'vscode'; - -/** Called when extension is activated */ -export function activate(context: VSCode.ExtensionContext) { - VSCode.window.showInformationMessage( - "The `vscode-boot-properties` extension is obsolete and no longer functional. "+ - "Please uninstall it and install the `vscode-spring-boot` extension instead." - ); -} diff --git a/vscode-extensions/vscode-boot-properties/package.json b/vscode-extensions/vscode-boot-properties/package.json deleted file mode 100644 index c18cd0ea0..000000000 --- a/vscode-extensions/vscode-boot-properties/package.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "name": "vscode-boot-properties", - "displayName": "Spring Boot Application Properties Support", - "description": "Provides validation and content assist for Spring Boot application.properties and application.yml file", - "icon": "spring-boot-logo.png", - "version": "0.1.4", - "publisher": "Pivotal", - "repository": { - "type": "git", - "url": "https://github.com/spring-projects/sts4.git" - }, - "license": "EPL-1.0", - "engines": { - "npm": "^3.0.0", - "vscode": "^1.19.0" - }, - "categories": [ - "Languages", - "Linters" - ], - "keywords": [ - "java-properties", - "spring-boot", - "application-properties", - "application-yaml" - ], - "activationEvents": [ - "onLanguage:spring-boot-properties", - "onLanguage:spring-boot-properties-yaml" - ], - "contributes": { - "languages": [ - { - "id": "spring-boot-properties-yaml", - "aliases": [ - "Spring Boot Properties Yaml" - ], - "filenamePatterns": [ - "application*.yml", - "bootstrap*.yml" - ], - "configuration": "./yaml-support/language-configuration.json" - }, - { - "id": "spring-boot-properties", - "aliases": [ - "Spring Boot Properties" - ], - "filenamePatterns": [ - "application*.properties", - "bootstrap*.yml" - ], - "configuration": "./properties-support/language-configuration.json" - } - ] - }, - "main": "./out/lib/Main", - "scripts": { - "vscode:prepublish": "npm run compile", - "compile": "tsc -p ./", - "watch": "tsc -watch -p ./", - "clean": "rm -fr node_modules out *.vsix package-lock.json", - "postinstall": "node ./node_modules/vscode/bin/install", - "vsce-package": "vsce package" - }, - "dependencies": { - "vscode-languageclient": "^3.4.2" - }, - "devDependencies": { - "vsce": "^1.36.1", - "typescript": "2.6.1", - "@types/node": "^7.0.43", - "vscode": "^1.1.10" - } -} diff --git a/vscode-extensions/vscode-boot-properties/properties-support/OSSREADME.json b/vscode-extensions/vscode-boot-properties/properties-support/OSSREADME.json deleted file mode 100644 index c1ebef0ea..000000000 --- a/vscode-extensions/vscode-boot-properties/properties-support/OSSREADME.json +++ /dev/null @@ -1,13 +0,0 @@ -// ATTENTION - THIS DIRECTORY CONTAINS THIRD PARTY OPEN SOURCE MATERIALS: - -[{ - "name": "textmate/java.tmbundle", - "version": "0.0.0", - "repositoryURL": "https://github.com/textmate/java.tmbundle/blob/master/Syntaxes/JavaProperties.plist", - "licenseDetail": [ - "Permission to copy, use, modify, sell and distribute this", - "software is granted. This software is provided \"as is\" without", - "express or implied warranty, and with no claim as to its", - "suitability for any purpose." - ] -}] diff --git a/vscode-extensions/vscode-boot-properties/properties-support/java-properties.tmLanguage b/vscode-extensions/vscode-boot-properties/properties-support/java-properties.tmLanguage deleted file mode 100644 index bf25ce875..000000000 --- a/vscode-extensions/vscode-boot-properties/properties-support/java-properties.tmLanguage +++ /dev/null @@ -1,160 +0,0 @@ - - - - - fileTypes - - properties - - foldingStartMarker - ^[a-zA-Z0-9.-_]+=.*\ - - foldingStopMarker - ^(.*(?<!\) -) - keyEquivalent - ^~J - name - Java Properties - patterns - - - comment - Ignore blank lines - match - ^\s*$ - - - include - #comment-line - - - include - #property-name - - - include - #property-definition - - - repository - - comment-line - - captures - - 1 - - name - punctuation.whitespace.comment.leading.java-properties - - 2 - - name - punctuation.definition.comment.java-properties - - - match - ^(\s*)([#!])(.+)?$\n? - name - comment.line.java-properties - - property-definition - - begin - ^(\s*)((?:\\[ \t]|\\:|\\=|[^:=\s])+)(?:\s*([:=]))?\s* - beginCaptures - - 1 - - name - punctuation.whitespace.leading.java-properties - - 2 - - name - support.constant.java-properties - patterns - - - match - \\(?:[ \t:=\\ntfr\"']|u[0-9A-Fa-f]{4}) - name - constant.character.escape.java-properties - - - - 3 - - name - punctuation.separator.key-value.java-properties - - - contentName - string.unquoted.java-properties - end - (?<!\\{1})$\n - name - meta.key-value.java-properties - patterns - - - comment - Leading space on a continued line is ignored - match - ^\s* - name - punctuation.whitespace.leading.java-properties - - - match - (\\{1})(?=$\n) - name - punctuation.separator.continuation.java-properties - - - match - \\(?:[\\ntfr\"']|u[0-9A-Fa-f]{4}) - name - constant.character.escape.java-properties - - - - property-name - - captures - - 1 - - name - punctuation.whitespace.comment.leading.java-properties - - 2 - - name - support.constant.java-properties - patterns - - - match - \\(?:[ \t:=\\ntfr\"']|u[0-9A-Fa-f]{4}) - name - constant.character.escape.java-properties - - - - - comment - A property name with no value - match - ^(\s*)((?:\\[ \t]|\\:|\\=|[^:=\s])+)(?:\s*([:=]))?\s*$\n - name - meta.key-value.java-properties - - - scopeName - source.java-properties - uuid - D364E829-7643-4AFF-948D-3C0D6B4EA8A4 - - diff --git a/vscode-extensions/vscode-boot-properties/properties-support/language-configuration.json b/vscode-extensions/vscode-boot-properties/properties-support/language-configuration.json deleted file mode 100644 index 053f8fee2..000000000 --- a/vscode-extensions/vscode-boot-properties/properties-support/language-configuration.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "comments": { - "lineComment": "#" - }, - "brackets": [ - ], - "autoClosingPairs": [ - ["{", "}"], - ["[", "]"], - ["(", ")"], - ["\"", "\""], - ["'", "'"] - ], - "surroundingPairs": [ - ["{", "}"], - ["[", "]"], - ["(", ")"], - ["\"", "\""], - ["'", "'"] - ] -} \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-properties/readme-imgs/properties-completion.png b/vscode-extensions/vscode-boot-properties/readme-imgs/properties-completion.png deleted file mode 100644 index 12e591f1a..000000000 Binary files a/vscode-extensions/vscode-boot-properties/readme-imgs/properties-completion.png and /dev/null differ diff --git a/vscode-extensions/vscode-boot-properties/readme-imgs/properties-validation.png b/vscode-extensions/vscode-boot-properties/readme-imgs/properties-validation.png deleted file mode 100644 index 92949cd6a..000000000 Binary files a/vscode-extensions/vscode-boot-properties/readme-imgs/properties-validation.png and /dev/null differ diff --git a/vscode-extensions/vscode-boot-properties/readme-imgs/yaml-completion.png b/vscode-extensions/vscode-boot-properties/readme-imgs/yaml-completion.png deleted file mode 100644 index 8fa36eae1..000000000 Binary files a/vscode-extensions/vscode-boot-properties/readme-imgs/yaml-completion.png and /dev/null differ diff --git a/vscode-extensions/vscode-boot-properties/readme-imgs/yaml-hover.png b/vscode-extensions/vscode-boot-properties/readme-imgs/yaml-hover.png deleted file mode 100644 index acd07df3d..000000000 Binary files a/vscode-extensions/vscode-boot-properties/readme-imgs/yaml-hover.png and /dev/null differ diff --git a/vscode-extensions/vscode-boot-properties/readme-imgs/yaml-validation.png b/vscode-extensions/vscode-boot-properties/readme-imgs/yaml-validation.png deleted file mode 100644 index 8135c703b..000000000 Binary files a/vscode-extensions/vscode-boot-properties/readme-imgs/yaml-validation.png and /dev/null differ diff --git a/vscode-extensions/vscode-boot-properties/spring-boot-logo.png b/vscode-extensions/vscode-boot-properties/spring-boot-logo.png deleted file mode 100644 index 0ccdef63a..000000000 Binary files a/vscode-extensions/vscode-boot-properties/spring-boot-logo.png and /dev/null differ diff --git a/vscode-extensions/vscode-boot-properties/tsconfig.json b/vscode-extensions/vscode-boot-properties/tsconfig.json deleted file mode 100644 index 1905ffea7..000000000 --- a/vscode-extensions/vscode-boot-properties/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "moduleResolution": "node", - "target": "es6", - "lib": [ - "es6" - ], - "declaration": true, - "outDir": "out", - "sourceMap": true, - "rootDir": "." - }, - "include": [ - "typings/*.d.ts", - "lib/**/*.ts" - ], - "exclude": [ - "node_modules" - ] -} \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-properties/yaml-support/OSSREADME.json b/vscode-extensions/vscode-boot-properties/yaml-support/OSSREADME.json deleted file mode 100644 index bcdae2a4c..000000000 --- a/vscode-extensions/vscode-boot-properties/yaml-support/OSSREADME.json +++ /dev/null @@ -1,28 +0,0 @@ -// ATTENTION - THIS DIRECTORY CONTAINS THIRD PARTY OPEN SOURCE MATERIALS: - -[{ - "name": "textmate/yaml.tmbundle", - "version": "0.0.0", - "license": "TextMate Bundle License", - "repositoryURL": "https://github.com/textmate/yaml.tmbundle", - "licenseDetail": [ - "Copyright (c) 2015 FichteFoll ", - "", - "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." - ] -}] diff --git a/vscode-extensions/vscode-boot-properties/yaml-support/language-configuration.json b/vscode-extensions/vscode-boot-properties/yaml-support/language-configuration.json deleted file mode 100644 index cab4f6602..000000000 --- a/vscode-extensions/vscode-boot-properties/yaml-support/language-configuration.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "comments": { - "lineComment": "#" - }, - "brackets": [ - ["{", "}"], - ["[", "]"], - ["(", ")"] - ], - "autoClosingPairs": [ - ["{", "}"], - ["[", "]"], - ["(", ")"], - ["\"", "\""], - ["'", "'"] - ], - "surroundingPairs": [ - ["{", "}"], - ["[", "]"], - ["(", ")"], - ["\"", "\""], - ["'", "'"] - ] -} \ No newline at end of file diff --git a/vscode-extensions/vscode-boot-properties/yaml-support/yaml.tmLanguage b/vscode-extensions/vscode-boot-properties/yaml-support/yaml.tmLanguage deleted file mode 100644 index efc4c8ab0..000000000 --- a/vscode-extensions/vscode-boot-properties/yaml-support/yaml.tmLanguage +++ /dev/null @@ -1,1164 +0,0 @@ - - - - - fileTypes - - yaml - yml - rviz - reek - clang-format - yaml-tmlanguage - syntax - sublime-syntax - - firstLineMatch - ^%YAML( ?1.\d+)? - keyEquivalent - ^~Y - name - YAML - patterns - - - include - #comment - - - include - #property - - - include - #directive - - - match - ^--- - name - entity.other.document.begin.yaml - - - match - ^\.{3} - name - entity.other.document.end.yaml - - - include - #node - - - repository - - block-collection - - patterns - - - include - #block-sequence - - - include - #block-mapping - - - - block-mapping - - patterns - - - include - #block-pair - - - - block-node - - patterns - - - include - #prototype - - - include - #block-scalar - - - include - #block-collection - - - include - #flow-scalar-plain-out - - - include - #flow-node - - - - block-pair - - patterns - - - begin - \? - beginCaptures - - 1 - - name - punctuation.definition.key-value.begin.yaml - - - end - (?=\?)|^ *(:)|(:) - endCaptures - - 1 - - name - punctuation.separator.key-value.mapping.yaml - - 2 - - name - invalid.illegal.expected-newline.yaml - - - name - meta.block-mapping.yaml - patterns - - - include - #block-node - - - - - begin - (?x) - (?= - (?x: - [^\s[-?:,\[\]{}#&*!|>'"%@`]] - | [?:-] \S - ) - ( - [^\s:] - | : \S - | \s+ (?![#\s]) - )* - \s* - : - (\s|$) - ) - - end - (?x) - (?= - \s* $ - | \s+ \# - | \s* : (\s|$) - ) - - patterns - - - include - #flow-scalar-plain-out-implicit-type - - - begin - (?x) - [^\s[-?:,\[\]{}#&*!|>'"%@`]] - | [?:-] \S - - beginCaptures - - 0 - - name - entity.name.tag.yaml - - - contentName - entity.name.tag.yaml - end - (?x) - (?= - \s* $ - | \s+ \# - | \s* : (\s|$) - ) - - name - string.unquoted.plain.out.yaml - - - - - match - :(?=\s|$) - name - punctuation.separator.key-value.mapping.yaml - - - - block-scalar - - begin - (?:(\|)|(>))([1-9])?([-+])?(.*\n?) - beginCaptures - - 1 - - name - punctuation.definition.block.scalar.literal.yaml - - 2 - - name - punctuation.definition.block.scalar.folded.yaml - - 3 - - name - constant.numeric.indentation-indicator.yaml - - 4 - - name - support.other.chomping-indicator.yaml - - 5 - - patterns - - - include - #comment - - - match - .+ - name - invalid.illegal.expected-comment-or-newline.yaml - - - - - end - ^(?=\S)|(?!\G) - patterns - - - begin - ^([ ]+)(?! ) - end - ^(?!\1|\s*$) - name - string.unquoted.block.yaml - - - - block-sequence - - match - (-)( |\t|$) - name - punctuation.definition.block.sequence.item.yaml - - comment - - begin - (?:(^[ \t]*)|[ \t]+)(?=#\p{Print}*$) - beginCaptures - - 1 - - name - punctuation.whitespace.comment.leading.yaml - - - end - (?!\G) - patterns - - - begin - # - beginCaptures - - 0 - - name - punctuation.definition.comment.yaml - - - end - \n - name - comment.line.number-sign.yaml - - - - directive - - begin - ^% - beginCaptures - - 0 - - name - punctuation.definition.directive.begin.yaml - - - end - (?=$|[ \t]+($|#)) - name - meta.directive.yaml - patterns - - - captures - - 1 - - name - keyword.other.directive.yaml.yaml - - 2 - - name - constant.numeric.yaml-version.yaml - - - match - \G(YAML)[ \t]+(\d+\.\d+) - - - captures - - 1 - - name - keyword.other.directive.tag.yaml - - 2 - - name - storage.type.tag-handle.yaml - - 3 - - name - support.type.tag-prefix.yaml - - - match - (?x) - \G - (TAG) - (?:[ \t]+ - ((?:!(?:[0-9A-Za-z\-]*!)?)) - (?:[ \t]+ ( - ! (?x: %\p{XDigit}{2} | [0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]] )* - | (?![,!\[\]{}]) (?x: %\p{XDigit}{2} | [0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]] )+ - ) - )? - )? - - - - captures - - 1 - - name - support.other.directive.reserved.yaml - - 2 - - name - string.unquoted.directive-name.yaml - - 3 - - name - string.unquoted.directive-parameter.yaml - - - match - (?x) \G (\w+) (?:[ \t]+ (\w+) (?:[ \t]+ (\w+))? )? - - - match - \S+ - name - invalid.illegal.unrecognized.yaml - - - - flow-alias - - captures - - 1 - - name - keyword.control.flow.alias.yaml - - 2 - - name - punctuation.definition.alias.yaml - - 3 - - name - variable.other.alias.yaml - - 4 - - name - invalid.illegal.character.anchor.yaml - - - match - ((\*))([^\s\[\]/{/},]+)([^\s\]},]\S*)? - - flow-collection - - patterns - - - include - #flow-sequence - - - include - #flow-mapping - - - - flow-mapping - - begin - \{ - beginCaptures - - 0 - - name - punctuation.definition.mapping.begin.yaml - - - end - \} - endCaptures - - 0 - - name - punctuation.definition.mapping.end.yaml - - - name - meta.flow-mapping.yaml - patterns - - - include - #prototype - - - match - , - name - punctuation.separator.mapping.yaml - - - include - #flow-pair - - - - flow-node - - patterns - - - include - #prototype - - - include - #flow-alias - - - include - #flow-collection - - - include - #flow-scalar - - - - flow-pair - - patterns - - - begin - \? - beginCaptures - - 0 - - name - punctuation.definition.key-value.begin.yaml - - - end - (?=[},\]]) - name - meta.flow-pair.explicit.yaml - patterns - - - include - #prototype - - - include - #flow-pair - - - include - #flow-node - - - begin - :(?=\s|$|[\[\]{},]) - beginCaptures - - 0 - - name - punctuation.separator.key-value.mapping.yaml - - - end - (?=[},\]]) - patterns - - - include - #flow-value - - - - - - - begin - (?x) - (?= - (?: - [^\s[-?:,\[\]{}#&*!|>'"%@`]] - | [?:-] [^\s[\[\]{},]] - ) - ( - [^\s:[\[\]{},]] - | : [^\s[\[\]{},]] - | \s+ (?![#\s]) - )* - \s* - : - (\s|$) - ) - - end - (?x) - (?= - \s* $ - | \s+ \# - | \s* : (\s|$) - | \s* : [\[\]{},] - | \s* [\[\]{},] - ) - - name - meta.flow-pair.key.yaml - patterns - - - include - #flow-scalar-plain-in-implicit-type - - - begin - (?x) - [^\s[-?:,\[\]{}#&*!|>'"%@`]] - | [?:-] [^\s[\[\]{},]] - - beginCaptures - - 0 - - name - entity.name.tag.yaml - - - contentName - entity.name.tag.yaml - end - (?x) - (?= - \s* $ - | \s+ \# - | \s* : (\s|$) - | \s* : [\[\]{},] - | \s* [\[\]{},] - ) - - name - string.unquoted.plain.in.yaml - - - - - include - #flow-node - - - begin - :(?=\s|$|[\[\]{},]) - captures - - 0 - - name - punctuation.separator.key-value.mapping.yaml - - - end - (?=[},\]]) - name - meta.flow-pair.yaml - patterns - - - include - #flow-value - - - - - - flow-scalar - - patterns - - - include - #flow-scalar-double-quoted - - - include - #flow-scalar-single-quoted - - - include - #flow-scalar-plain-in - - - - flow-scalar-double-quoted - - begin - " - beginCaptures - - 0 - - name - punctuation.definition.string.begin.yaml - - - end - " - endCaptures - - 0 - - name - punctuation.definition.string.end.yaml - - - name - string.quoted.double.yaml - patterns - - - match - \\([0abtnvfre "/\\N_Lp]|x\d\d|u\d{4}|U\d{8}) - name - constant.character.escape.yaml - - - match - \\\n - name - constant.character.escape.double-quoted.newline.yaml - - - - flow-scalar-plain-in - - patterns - - - include - #flow-scalar-plain-in-implicit-type - - - begin - (?x) - [^\s[-?:,\[\]{}#&*!|>'"%@`]] - | [?:-] [^\s[\[\]{},]] - - end - (?x) - (?= - \s* $ - | \s+ \# - | \s* : (\s|$) - | \s* : [\[\]{},] - | \s* [\[\]{},] - ) - - name - string.unquoted.plain.in.yaml - - - - flow-scalar-plain-in-implicit-type - - patterns - - - captures - - 1 - - name - constant.language.null.yaml - - 2 - - name - constant.language.boolean.yaml - - 3 - - name - constant.numeric.integer.yaml - - 4 - - name - constant.numeric.float.yaml - - 5 - - name - constant.other.timestamp.yaml - - 6 - - name - constant.language.value.yaml - - 7 - - name - constant.language.merge.yaml - - - match - (?x) - (?x: - (null|Null|NULL|~) - | (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF) - | ( - (?: - [-+]? 0b [0-1_]+ # (base 2) - | [-+]? 0 [0-7_]+ # (base 8) - | [-+]? (?: 0|[1-9][0-9_]*) # (base 10) - | [-+]? 0x [0-9a-fA-F_]+ # (base 16) - | [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+ # (base 60) - ) - ) - | ( - (?x: - [-+]? (?: [0-9] [0-9_]*)? \. [0-9.]* (?: [eE] [-+] [0-9]+)? # (base 10) - | [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \. [0-9_]* # (base 60) - | [-+]? \. (?: inf|Inf|INF) # (infinity) - | \. (?: nan|NaN|NAN) # (not a number) - ) - ) - | ( - (?x: - \d{4} - \d{2} - \d{2} # (y-m-d) - | \d{4} # (year) - - \d{1,2} # (month) - - \d{1,2} # (day) - (?: [Tt] | [ \t]+) \d{1,2} # (hour) - : \d{2} # (minute) - : \d{2} # (second) - (?: \.\d*)? # (fraction) - (?: - (?:[ \t]*) Z - | [-+] \d{1,2} (?: :\d{1,2})? - )? # (time zone) - ) - ) - | (=) - | (<<) - ) - (?: - (?= - \s* $ - | \s+ \# - | \s* : (\s|$) - | \s* : [\[\]{},] - | \s* [\[\]{},] - ) - ) - - - - - flow-scalar-plain-out - - patterns - - - include - #flow-scalar-plain-out-implicit-type - - - begin - (?x) - [^\s[-?:,\[\]{}#&*!|>'"%@`]] - | [?:-] \S - - end - (?x) - (?= - \s* $ - | \s+ \# - | \s* : (\s|$) - ) - - name - string.unquoted.plain.out.yaml - - - - flow-scalar-plain-out-implicit-type - - patterns - - - captures - - 1 - - name - constant.language.null.yaml - - 2 - - name - constant.language.boolean.yaml - - 3 - - name - constant.numeric.integer.yaml - - 4 - - name - constant.numeric.float.yaml - - 5 - - name - constant.other.timestamp.yaml - - 6 - - name - constant.language.value.yaml - - 7 - - name - constant.language.merge.yaml - - - match - (?x) - (?x: - (null|Null|NULL|~) - | (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF) - | ( - (?: - [-+]? 0b [0-1_]+ # (base 2) - | [-+]? 0 [0-7_]+ # (base 8) - | [-+]? (?: 0|[1-9][0-9_]*) # (base 10) - | [-+]? 0x [0-9a-fA-F_]+ # (base 16) - | [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+ # (base 60) - ) - ) - | ( - (?x: - [-+]? (?: [0-9] [0-9_]*)? \. [0-9.]* (?: [eE] [-+] [0-9]+)? # (base 10) - | [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \. [0-9_]* # (base 60) - | [-+]? \. (?: inf|Inf|INF) # (infinity) - | \. (?: nan|NaN|NAN) # (not a number) - ) - ) - | ( - (?x: - \d{4} - \d{2} - \d{2} # (y-m-d) - | \d{4} # (year) - - \d{1,2} # (month) - - \d{1,2} # (day) - (?: [Tt] | [ \t]+) \d{1,2} # (hour) - : \d{2} # (minute) - : \d{2} # (second) - (?: \.\d*)? # (fraction) - (?: - (?:[ \t]*) Z - | [-+] \d{1,2} (?: :\d{1,2})? - )? # (time zone) - ) - ) - | (=) - | (<<) - ) - (?x: - (?= - \s* $ - | \s+ \# - | \s* : (\s|$) - ) - ) - - - - - flow-scalar-single-quoted - - begin - ' - beginCaptures - - 0 - - name - punctuation.definition.string.begin.yaml - - - end - '(?!') - endCaptures - - 0 - - name - punctuation.definition.string.end.yaml - - - name - string.quoted.single.yaml - patterns - - - match - '' - name - constant.character.escape.single-quoted.yaml - - - - flow-sequence - - begin - \[ - beginCaptures - - 0 - - name - punctuation.definition.sequence.begin.yaml - - - end - \] - endCaptures - - 0 - - name - punctuation.definition.sequence.end.yaml - - - name - meta.flow-sequence.yaml - patterns - - - include - #prototype - - - match - , - name - punctuation.separator.sequence.yaml - - - include - #flow-pair - - - include - #flow-node - - - - flow-value - - patterns - - - begin - \G(?![},\]]) - end - (?=[},\]]) - name - meta.flow-pair.value.yaml - patterns - - - include - #flow-node - - - - - - node - - patterns - - - include - #block-node - - - - property - - begin - (?=!|&) - end - (?!\G) - name - meta.property.yaml - patterns - - - captures - - 1 - - name - keyword.control.property.anchor.yaml - - 2 - - name - punctuation.definition.anchor.yaml - - 3 - - name - entity.name.type.anchor.yaml - - 4 - - name - invalid.illegal.character.anchor.yaml - - - match - \G((&))([^\s\[\]/{/},]+)(\S+)? - - - match - (?x) - \G - (?: - ! < (?: %\p{XDigit}{2} | [0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]] )+ > - | (?:!(?:[0-9A-Za-z\-]*!)?) (?: %\p{XDigit}{2} | [0-9A-Za-z\-#;/?:@&=+$_.~*'()] )+ - | ! - ) - (?=\ |\t|$) - - name - storage.type.tag-handle.yaml - - - match - \S+ - name - invalid.illegal.tag-handle.yaml - - - - prototype - - patterns - - - include - #comment - - - include - #property - - - - - scopeName - source.yaml - uuid - 686AD6AE-33F3-4493-9512-9E9FC1D5417F - -