Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
B Language Extension
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
B Language Extension
Commits
886ecadf
Commit
886ecadf
authored
5 years ago
by
SeeBasTStick
Browse files
Options
Downloads
Patches
Plain Diff
fix to tackle semi hardcoded proB path
parent
d7bbe50a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-0
2 additions, 0 deletions
README.md
server/src/server.ts
+2
-2
2 additions, 2 deletions
server/src/server.ts
with
4 additions
and
2 deletions
README.md
+
2
−
0
View file @
886ecadf
...
@@ -22,6 +22,8 @@ This extension contributes the following settings:
...
@@ -22,6 +22,8 @@ This extension contributes the following settings:
*
`languageServer.strictChecks`
: to enable/disable stricter Checks. Make sure to enable/disable for the current workspace too.
*
`languageServer.strictChecks`
: to enable/disable stricter Checks. Make sure to enable/disable for the current workspace too.
Please note that user settings overwrite workspace settings.
## Bugs
## Bugs
-
please open an issue at https://github.com/SeeBasTStick/b-eventb-language-extension
-
please open an issue at https://github.com/SeeBasTStick/b-eventb-language-extension
...
...
This diff is collapsed.
Click to expand it.
server/src/server.ts
+
2
−
2
View file @
886ecadf
...
@@ -95,7 +95,7 @@ interface Settings {
...
@@ -95,7 +95,7 @@ interface Settings {
const
defaultSettings
:
Settings
=
{
const
defaultSettings
:
Settings
=
{
maxNumberOfProblems
:
1000
,
maxNumberOfProblems
:
1000
,
probHome
:
"
/home/sebastian
/prob_prolog/probcli.sh
"
,
probHome
:
"
~
/prob_prolog/probcli.sh
"
,
strictChecks
:
false
,
strictChecks
:
false
,
wdChecks
:
false
};
wdChecks
:
false
};
...
@@ -161,7 +161,7 @@ async function validateTextDocument(textDocument: TextDocument): Promise<void> {
...
@@ -161,7 +161,7 @@ async function validateTextDocument(textDocument: TextDocument): Promise<void> {
let
diagnosticsPromise
:
Promise
<
Set
<
Diagnostic
>>
let
diagnosticsPromise
:
Promise
<
Set
<
Diagnostic
>>
console
.
log
(
command
)
console
.
log
(
command
)
if
(
correctPath
(
globalS
ettings
.
probHome
))
if
(
correctPath
(
s
ettings
.
probHome
))
{
{
exec
(
command
,
(
err
:
string
,
stdout
:
string
,
stderr
:
string
)
=>
{
exec
(
command
,
(
err
:
string
,
stdout
:
string
,
stderr
:
string
)
=>
{
let
bla
=
new
ErrorMatcher
()
let
bla
=
new
ErrorMatcher
()
...
...
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