Open lukeaduncan opened 5 months ago
The syntax highlighting is still not working with the 0.7.1 version of the plugin. Here is an example:
/*
* Library: TestHighlight
*/
library TestHighlight
// Start Skeleton CQL
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include FHIRCommon called FC
// End Skeleton CQL
context Patient
define "This Date":
Today()
define "No Highlight":
"This Date"
define "Should Highlight":
"These Dates"
In 0.6.0 "These Dates" at the bottom has a red squiggly underline to show it isn't valid. But in 0.7.1 there is no highlight.
Here are my vscode details: Version: 1.87.2 Commit: 863d2581ecda6849923a2118d93a088b0745d9d6 Date: 2024-03-08T15:14:59.643Z Electron: 27.3.2 ElectronBuildId: 26836302 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Linux x64 6.5.0-26-generic snap
In the full release (0.6.0) when an expression isn't found (in the currently library or referenced from others), it underlines it in a squiggly red line (like a misspelled word). But in the preview release (0.7.0) this functionality doesn't seem to be there. This was an extremely helpful feature for typos or missing expressions. I don't know if it's just temporarily not there while being updated or if it was inadvertently broken.