Atom: merged boot-properties and boot-java in spring-boot package
This commit is contained in:
15
atom-extensions/atom-spring-boot/.travis.yml
Normal file
15
atom-extensions/atom-spring-boot/.travis.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
27
atom-extensions/atom-spring-boot/appveyor.yml
Normal file
27
atom-extensions/atom-spring-boot/appveyor.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
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
|
||||
37
atom-extensions/atom-spring-boot/coffeelint.json
Normal file
37
atom-extensions/atom-spring-boot/coffeelint.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"max_line_length": {
|
||||
"level": "ignore"
|
||||
},
|
||||
"no_empty_param_list": {
|
||||
"level": "error"
|
||||
},
|
||||
"arrow_spacing": {
|
||||
"level": "error"
|
||||
},
|
||||
"no_interpolation_in_single_quotes": {
|
||||
"level": "error"
|
||||
},
|
||||
"no_debugger": {
|
||||
"level": "error"
|
||||
},
|
||||
"prefer_english_operator": {
|
||||
"level": "error"
|
||||
},
|
||||
"colon_assignment_spacing": {
|
||||
"spacing": {
|
||||
"left": 0,
|
||||
"right": 1
|
||||
},
|
||||
"level": "error"
|
||||
},
|
||||
"braces_spacing": {
|
||||
"spaces": 0,
|
||||
"level": "error"
|
||||
},
|
||||
"spacing_after_comma": {
|
||||
"level": "error"
|
||||
},
|
||||
"no_stand_alone_at": {
|
||||
"level": "error"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
'scopeName': 'source.boot-properties-yaml'
|
||||
'name': 'Spring-Boot-Properties-YAML'
|
||||
'fileTypes': [
|
||||
'application.yml'
|
||||
]
|
||||
'patterns': [
|
||||
{ 'include': 'source.yaml' }
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
'scopeName': 'source.boot-properties'
|
||||
'name': 'Spring-Boot-Properties'
|
||||
'fileTypes': [
|
||||
'application.properties'
|
||||
]
|
||||
'patterns': [
|
||||
{ 'include': 'source.java-properties' }
|
||||
]
|
||||
@@ -28,7 +28,7 @@ class SpringBootLanguageClient extends JavaProcessLanguageClient {
|
||||
}
|
||||
|
||||
getGrammarScopes() {
|
||||
return ['source.java'];
|
||||
return ['source.java', 'source.boot-properties', 'source.boot-properties-yaml'];
|
||||
}
|
||||
|
||||
getLanguageName() {
|
||||
@@ -41,7 +41,7 @@ class SpringBootLanguageClient extends JavaProcessLanguageClient {
|
||||
|
||||
activate() {
|
||||
require('atom-package-deps')
|
||||
.install('boot-java')
|
||||
.install('spring-boot')
|
||||
.then(() => console.debug('All dependencies installed, good to go'));
|
||||
super.activate();
|
||||
}
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
"atom": ">=1.21.0"
|
||||
},
|
||||
"files": [
|
||||
"grammars/",
|
||||
"settings/",
|
||||
"lib/",
|
||||
"server/",
|
||||
"styles/",
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"jarUrl": "https://s3-us-west-1.amazonaws.com/s3-test.spring.io/sts4/fatjars/snapshots/boot-java-language-server-0.0.10-201711061741.jar"
|
||||
"jarUrl": "https://s3-us-west-1.amazonaws.com/s3-test.spring.io/sts4/fatjars/snapshots/spring-boot-language-server-0.1.4-201802212000.jar"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
'.source.boot-properties-yaml':
|
||||
'editor':
|
||||
'autoIndentOnPaste': false
|
||||
'commentStart': '# '
|
||||
'foldEndPattern': '^\\s*$|^\\s*\\}|^\\s*\\]|^\\s*\\)'
|
||||
'increaseIndentPattern': '^\\s*.*(:|-) ?(&\\w+)?(\\{[^}"\']*|\\([^)"\']*)?$'
|
||||
'decreaseIndentPattern': '^\\s+\\}$'
|
||||
'tabType': 'soft'
|
||||
Reference in New Issue
Block a user