Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
StephenBudd
Contributor
Contributor

IntelliJ / Jetbrain Plugin for Syntax Highlight

Hello everyone,

I'm new to using IntelliJ/JetBrains tools and I'm in search of a custom language plugin that supports code highlighting. Has anyone here used JetBrains for editing QVS files? I'm aware that there are plugins available for VS-Code and Sublime Text, but I'd prefer to stick to just one tool if possible.

Labels (2)
1 Reply
StephenBudd
Contributor
Contributor
Author

I have a brief update on the topic.

I've discovered a solution that works well for me. While developing a plugin proved to be overly complex, I found success with a combination of "Live Templates" and "File Type Settings."


StephenBudd_0-1707511528195.png

1 2 3 4
call
do
each
else
elseif
end
endif
exit
exit do
exit script
for
if
loop
next
sub
then
to
until
while
add
autogenerate
buffer
concatenate
crosstable
distinct
extension
fieldlist
first
from_field
generic
group by
hierarchy
hierarchybelongsto
inline
inner
intervalmatch
into
join
keep
left
mapping
merge
nococatenate
only
order by
outer
partial reload
replace
resident
right
sample
semantic
unless
when
where
with
$(include=
alias
applymap
autonumber
binary
comment
connect
declare
derive
direct query
directory
disconnect
drop
execude
execute
field
fields
flushlog
force
from
indexadd
let
lib
load
map
nullasnull
nullasvalue
qualify
rem
rename
search
section
select
set
sleep
sql
sqlcolumns
sqltables
sqltypes
star
store
table
tables
tag
trace
unmap
unqualify
untag
$(vg.basepath)
$(vg.basevariablepath)
$(vg.configpath)
$(vg.custompath)
$(vg.exportpath)
$(vg.extractpath)
$(vg.importpath)
$(vg.includepath)
$(vg.loadpath)
$(vg.localepath)
$(vg.qvdpath)
$(vg.rootpath)
$(vg.sharedbasevariablepath)
$(vg.sharedconfigpath)
$(vg.sharedcustompath)
$(vg.sharedexportpath)
$(vg.sharedextractpath)
$(vg.sharedimportpath)
$(vg.sharedincludepath)
$(vg.sharedloadpath)
$(vg.sharedlocalepath)
$(vg.sharedlocalpath)
$(vg.sharedtransformpath)
$(vg.subpath)
$(vg.transformpath)
&
,
:
;
as

 

Each keyword tab now triggers a different color scheme, and autocomplete functionality is enabled for the keywords.

As for the second part, I've begun incorporating functions into the Live Templates. Using Ctrl+J, I can paste functions along with helpful text and set variables upon entering.

StephenBudd_1-1707511945615.png

Additionally, I've created some file templates for new tasks, such as creating new apps.

StephenBudd_2-1707512274816.png

 

--- 

While a custom language plugin would still be optimal, until one becomes available, the method described above serves my needs effectively, I believe.