Boot hints first trial
This commit is contained in:
@@ -4,4 +4,4 @@ set -e
|
||||
-f ../pom.xml \
|
||||
-pl spring-boot-language-server \
|
||||
-am \
|
||||
clean install
|
||||
clean install -DskipTests
|
||||
|
||||
8
vscode-extensions/commons-vscode/icons/boot-icon.svg
Normal file
8
vscode-extensions/commons-vscode/icons/boot-icon.svg
Normal file
@@ -0,0 +1,8 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="205.3" height="184.28" viewBox="0 0 205.3 184.28">
|
||||
<defs>
|
||||
<style>.a{fill:#68bd45;}</style>
|
||||
</defs>
|
||||
<title>Asset 1</title>
|
||||
<path class="a"
|
||||
d="M202.66,81.08l-40.43-70C158.72,5,150.1,0,143.08,0H62.22c-7,0-15.64,5-19.15,11.06l-40.43,70c-3.52,6.08-3.52,16,0,22.12l40.43,70c3.51,6.08,12.13,11.06,19.15,11.06h80.86c7,0,15.63-5,19.15-11.06l40.43-70C206.18,97.11,206.18,87.17,202.66,81.08ZM93.91,38.72a8.34,8.34,0,1,1,16.67,0V88.53a8.34,8.34,0,1,1-16.67,0ZM102.25,145A56.51,56.51,0,0,1,68.54,43.17a7.41,7.41,0,1,1,8.85,11.89,41.69,41.69,0,1,0,66.54,33.47A41.89,41.89,0,0,0,127,55,7.41,7.41,0,0,1,135.76,43a56.52,56.52,0,0,1-33.51,102Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 716 B |
@@ -28,9 +28,18 @@ export class HighlightService {
|
||||
constructor() {
|
||||
this.DECORATION = VSCode.window.createTextEditorDecorationType({
|
||||
// textDecoration: "underline",
|
||||
gutterIconPath: path.resolve(__dirname, "../icons/boot-icon.png"),
|
||||
gutterIconSize: "contain",
|
||||
outline: "#32BA56 dotted thin"
|
||||
// gutterIconPath: path.resolve(__dirname, "../icons/boot-icon.png"),
|
||||
// gutterIconSize: "contain",
|
||||
// outline: "#32BA56 dotted thin",
|
||||
before: {
|
||||
contentIconPath: path.resolve(__dirname, "../icons/boot-12.png"),
|
||||
margin: '2px 2px 0px 0px'
|
||||
},
|
||||
backgroundColor: 'rgba(109,179,63,0.25)',
|
||||
borderColor: 'rgba(109,179,63,0.25)',
|
||||
borderSpacing: '4px',
|
||||
borderRadius: '4px',
|
||||
borderWidth: '4px'
|
||||
});
|
||||
this.highlights = new Map();
|
||||
}
|
||||
@@ -49,6 +58,7 @@ export class HighlightService {
|
||||
let highlights : Range[] = this.highlights.get(uri) || [];
|
||||
let decorations = highlights.map(hl => toDecoration(hl));
|
||||
editor.setDecorations(this.DECORATION, decorations);
|
||||
editor.setDecorations(this.DECORATION, decorations);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user