"
4 | labels: ["bug", "new"]
5 | body:
6 | - type: checkboxes
7 | attributes:
8 | label: Is there an existing issue for this?
9 | description: Please search to see if an issue already exists for the bug you encountered.
10 | options:
11 | - label: I have searched the existing issues
12 | required: true
13 | - type: textarea
14 | attributes:
15 | label: Current Behavior
16 | description: A concise description of what you're experiencing.
17 | validations:
18 | required: false
19 | - type: textarea
20 | attributes:
21 | label: Expected Behavior
22 | description: A concise description of what you expected to happen.
23 | validations:
24 | required: false
25 | - type: textarea
26 | attributes:
27 | label: Steps To Reproduce
28 | description: |
29 | Steps to reproduce the behavior.
30 | Tip: You can add CDS code in code fences:
31 |
32 | ```cds
33 | entity Foo {
34 | bar: String;
35 | baz: Integer;
36 | }
37 | ```
38 |
39 | placeholder: |
40 | 1. With this sample model...
41 | 2. I get this error...
42 | validations:
43 | required: false
44 | - type: textarea
45 | attributes:
46 | label: Versions
47 | description: |
48 | | Tool | Version |
49 | | ---- | ------- |
50 | | SAP CDS Language Support for IntelliJ | |
51 | | Node.js | |
52 | validations:
53 | required: false
54 | - type: dropdown
55 | id: environment
56 | attributes:
57 | label: OS / Environment
58 | description: Where does the issue happen?
59 | options:
60 | - Linux
61 | - macOS
62 | - Windows
63 | validations:
64 | required: true
65 | - type: textarea
66 | attributes:
67 | label: Repository Containing a Minimal Reproducible Example
68 | placeholder: https://github.com/my/repository
69 | description: |
70 | Do you have a sample repository where we can observe the reported behaviour? Please include the relevant branch.
71 | validations:
72 | required: false
73 | - type: textarea
74 | attributes:
75 | label: Anything else?
76 | description: |
77 | Links? References? Anything that will give us more context about the issue you are encountering!
78 |
79 | Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
80 | validations:
81 | required: false
--------------------------------------------------------------------------------
/src/main/java/com/sap/cap/cds/intellij/usersettings/CdsUserSettingsService.java:
--------------------------------------------------------------------------------
1 | package com.sap.cap.cds.intellij.usersettings;
2 |
3 | import com.intellij.openapi.components.Service;
4 | import com.intellij.openapi.project.Project;
5 | import com.redhat.devtools.lsp4ij.client.SettingsHelper;
6 | import com.sap.cap.cds.intellij.settings.JsonSettingsManager;
7 | import com.sap.cap.cds.intellij.settings.JsonSettingsService;
8 | import com.sap.cap.cds.intellij.util.JsonUtil;
9 |
10 | import java.util.HashMap;
11 | import java.util.Map;
12 | import java.util.Objects;
13 |
14 | import static com.sap.cap.cds.intellij.usersettings.CdsUserSettings.USER_SETTINGS_JSON;
15 | import static com.sap.cap.cds.intellij.util.LoggerScope.USER_SETTINGS;
16 |
17 | @Service(Service.Level.PROJECT)
18 | public final class CdsUserSettingsService extends JsonSettingsService