Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
B Language Server
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
B Language Server
Commits
22d60847
Commit
22d60847
authored
4 years ago
by
SeeBasTStick
Browse files
Options
Downloads
Patches
Plain Diff
removed unused/useless setting
parent
ab37ec4d
Branches
Branches containing commit
Tags
v1.3.4
v1.5.0
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/kotlin/b/language/server/Util.kt
+1
-1
1 addition, 1 deletion
src/main/kotlin/b/language/server/Util.kt
src/main/kotlin/b/language/server/dataStorage/Settings.kt
+1
-1
1 addition, 1 deletion
src/main/kotlin/b/language/server/dataStorage/Settings.kt
with
2 additions
and
2 deletions
src/main/kotlin/b/language/server/Util.kt
+
1
−
1
View file @
22d60847
...
...
@@ -13,7 +13,7 @@ import java.io.File
* @return the settings object
*/
fun
castJsonToSetting
(
json
:
JsonObject
)
:
Settings
{
return
Settings
(
Gson
().
fromJson
(
json
.
get
(
"maxNumberOfProblems"
),
Int
::
class
.
java
),
return
Settings
(
Gson
().
fromJson
(
json
.
get
(
"wdChecks"
),
Boolean
::
class
.
java
),
Gson
().
fromJson
(
json
.
get
(
"strictChecks"
),
Boolean
::
class
.
java
),
Gson
().
fromJson
(
json
.
get
(
"performanceHints"
),
Boolean
::
class
.
java
),
...
...
This diff is collapsed.
Click to expand it.
src/main/kotlin/b/language/server/dataStorage/Settings.kt
+
1
−
1
View file @
22d60847
...
...
@@ -2,6 +2,6 @@ package b.language.server.dataStorage
import
java.io.File
data class
Settings
(
val
maxNumberOfProblem
:
Int
=
1000
,
val
strictChecks
:
Boolean
=
true
,
val
wdChecks
:
Boolean
=
true
,
data class
Settings
(
val
strictChecks
:
Boolean
=
true
,
val
wdChecks
:
Boolean
=
true
,
val
performanceHints
:
Boolean
=
true
,
val
probHome
:
File
=
File
(
"~/prob_prolog/probcli.sh"
),
val
debugMode
:
Boolean
=
true
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment