mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-07-24 19:54:35 +00:00
Added postError function for short error notifications. Using existsSync to check if binary exists. Seperated onConfigChange into different functions. lineNum -2 for windows instead of -1 for linux, such a pain.
This commit is contained in:
parent
c8c7a29abb
commit
1cec184e04
4 changed files with 69 additions and 57 deletions
6
server/src/utils.ts
Normal file
6
server/src/utils.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { connection } from './server'
|
||||
|
||||
export function postError(e: Error) {
|
||||
connection.window.showErrorMessage(e.message)
|
||||
console.log(e)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue