Skip to content

Commit 111267e

Browse files
TraigorVaragos
andauthored
Develop (#26)
Co-authored-by: Markos Girgis <[email protected]>
1 parent 02399ac commit 111267e

File tree

6 files changed

+14
-9
lines changed

6 files changed

+14
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to the "bitloops-language" extension will be documented in t
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

7+
### 0.4.1
8+
9+
Fixed bug of hover for multiple files workspace
10+
711
### 0.4.0
812

913
Added hover provider for type of variables

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ No known issues.
3333

3434
## What's New
3535

36-
### 0.4.0
36+
### 0.4.1
3737

38-
Added hover provider for type of variables
38+
Fixed bug of hover for multiple files workspace
3939

4040
---
4141

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"icon": "assets/images/bitloops-language-logo-256x256.png",
1111
"license": "MIT",
12-
"version": "0.4.0",
12+
"version": "0.4.1",
1313
"scripts": {
1414
"vs:package": "vsce package",
1515
"vs:publish": "vsce publish",

server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bitloops-lsp-server",
33
"description": "BitLoops Language Server",
4-
"version": "0.4.0",
4+
"version": "0.4.1",
55
"publisher": "Bitloops",
66
"license": "MIT",
77
"engines": {
@@ -10,7 +10,7 @@
1010
"type": "module",
1111
"scripts": {},
1212
"dependencies": {
13-
"@bitloops/bl-transpiler": "^0.6.8",
13+
"@bitloops/bl-transpiler": "^0.6.10",
1414
"debounce": "^1.2.1",
1515
"fs": "^0.0.1-security",
1616
"path": "^0.12.7",

server/src/lsp/handlers/hover-handler/hover.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const handleHover = (
2020
const typeOfKeyword = testSymbolTable?.findTypeOfKeyword(word, {
2121
line: position.line,
2222
column: position.character,
23+
fileId: params.textDocument.uri,
2324
});
2425
let { type, isConst } = typeOfKeyword || { type: null, isConst: null };
2526
if (type) {

server/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# yarn lockfile v1
33

44

5-
"@bitloops/bl-transpiler@^0.6.8":
6-
version "0.6.8"
7-
resolved "https://registry.yarnpkg.com/@bitloops/bl-transpiler/-/bl-transpiler-0.6.8.tgz#c6c33356bbaa25c26fc898c1a4e2e32cd84f035f"
8-
integrity sha512-nNWTiDK7faX23i0BqEWt+66LbiY+u3waVZzStRQYpp6aVnnWgarspEBQg3vLjdj7wZfSfxfS0+TOIDRKACx0IQ==
5+
"@bitloops/bl-transpiler@^0.6.10":
6+
version "0.6.10"
7+
resolved "https://registry.yarnpkg.com/@bitloops/bl-transpiler/-/bl-transpiler-0.6.10.tgz#5acbfb349963b91bfe3628154f8285a6b3c9ff85"
8+
integrity sha512-MUrjH7lWVD42fZv1OQnSCwO97OZhm1io3GYv+1AZ2rgIT9MczJCASY4BtB/LqkB9zevReo3KFX0XF/5Yhpr5Hw==
99
dependencies:
1010
antlr4 "4.11.0"
1111
lodash "^4.17.21"

0 commit comments

Comments
 (0)