PT #163583926: Atom supports application.yaml for boot properties
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
'scopeName': 'source.boot-properties-yaml'
|
||||
'name': 'Spring-Boot-Properties-YAML'
|
||||
'fileTypes': [
|
||||
'application.yml'
|
||||
'application.yml',
|
||||
'application.yaml'
|
||||
]
|
||||
'patterns': [
|
||||
{ 'include': 'source.yaml' }
|
||||
|
||||
@@ -115,7 +115,7 @@ public interface SourceLinks {
|
||||
IJavaProject project = projectFinder.find(new TextDocumentIdentifier(filePath.toUri().toString())).orElse(null);
|
||||
if (project == null) {
|
||||
try {
|
||||
URL url = new URL(path.substring(0, idx));
|
||||
URL url = filePath.toUri().toURL();
|
||||
if (url.getProtocol().equals("jar")) {
|
||||
URLConnection connection = url.openConnection();
|
||||
if (connection instanceof JarURLConnection) {
|
||||
|
||||
Reference in New Issue
Block a user