Version
1.6.3
Description
TMDL extensions is only working with local files (file:/) but not with VSCode virtual file systems (e.g. fabric:/).
This used to work in the past. This used to work with v1.5.x.
I tested this with Fabric Studio extensions which exposes TMDL files of online semantic models via a virtual file system which causes the following error:
Node.js v22.22.1
[Error - 9:49:43 AM] Server process exited with code 1.
[Info - 9:49:43 AM] Connection to server got closed. Server will restart.
true
node:internal/url:1609
throw new ERR_INVALID_URL_SCHEME('file');
^
TypeError [ERR_INVALID_URL_SCHEME]: The URL must be of scheme file
at fileURLToPath (node:internal/url:1609:11)
at c:\Users\GerhardBrueckl\.vscode\extensions\analysis-services.tmdl-1.6.3\dist\server.js:188960:70
at CallbackList.invoke (c:\Users\GerhardBrueckl\.vscode\extensions\analysis-services.tmdl-1.6.3\dist\server.js:6341:36)
at _Emitter.fire (c:\Users\GerhardBrueckl\.vscode\extensions\analysis-services.tmdl-1.6.3\dist\server.js:6400:34)
at c:\Users\GerhardBrueckl\.vscode\extensions\analysis-services.tmdl-1.6.3\dist\server.js:12799:36
at handleNotification (c:\Users\GerhardBrueckl\.vscode\extensions\analysis-services.tmdl-1.6.3\dist\server.js:7681:17)
at handleMessage (c:\Users\GerhardBrueckl\.vscode\extensions\analysis-services.tmdl-1.6.3\dist\server.js:7425:11)
at processMessageQueue (c:\Users\GerhardBrueckl\.vscode\extensions\analysis-services.tmdl-1.6.3\dist\server.js:7442:13)
at Immediate.<anonymous> (c:\Users\GerhardBrueckl\.vscode\extensions\analysis-services.tmdl-1.6.3\dist\server.js:7418:11)
at process.processImmediate (node:internal/timers:484:21) {
code: 'ERR_INVALID_URL_SCHEME'
}
Node.js v22.22.1
[Error - 9:49:43 AM] Server process exited with code 1.
[Error - 9:49:43 AM] The Tabular Model Definition Language (TMDL) Extension server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
Steps to Reproduce
- Install Fabric Studio (https://marketplace.visualstudio.com/items?itemName=GerhardBrueckl.fabricstudio)
- Connect to your Fabric tenant
- Use the workspace browser to navigate to a semantic model
- expand
Definition
- open any
.tmdl file within the definition
Expected Behavior
It should work the same way as it does for local files
Actual Behavior
The Tabular Model Definition Language (TMDL) Extension server crashed
Additional Context
I am the author of Fabric Studio - happy to get in touch and solve this together
Version
1.6.3Description
TMDL extensions is only working with local files (
file:/) but not with VSCode virtual file systems (e.g.fabric:/).This used to work in the past. This used to work with
v1.5.x.I tested this with Fabric Studio extensions which exposes TMDL files of online semantic models via a virtual file system which causes the following error:
Steps to Reproduce
Definition.tmdlfile within the definitionExpected Behavior
It should work the same way as it does for local files
Actual Behavior
The Tabular Model Definition Language (TMDL) Extension server crashed
Additional Context
I am the author of Fabric Studio - happy to get in touch and solve this together