I just install the cfml extension to my Visual cod...
# cfml-general
r
I just install the cfml extension to my Visual code. Do I Need to do anything else is initialize it, it does not seem to be running.
m
If you open extension , does it say enabled? Also, what are you expecting to see but aren't?
r
Also, make sure your CFML extension is the one by KamasamaK.
I'd also recommend the CFLint extension as well.
👍 1
r
Both say enabled. Maybe part of the problem is my expectation. I expected something similar to intellisence
r
You should get something similar to Intellisense. However, it generally only works well with cfscript and components.
m
I'd go a little farther than Rodney and say you should install all of the 'Recommended Extensions' since some of the cfml features depend on those. Are you seeing the linter recommendations stuff after save? if you hover a cf tag or function are you seeing cfdocs content? are tags auto closing? if typing a tag, i think it will pop intellisence like stuff, but only after the first char of an attribute. I have had issues with getting cflint going, or the docs appearing in the past (aka, I messed up the settings)
r
I was typing <cf then expected something to come up (like cfoutput) but nothing appeared
m
it should definitely show a list, that narrows as you type
r
I get nada
m
you might have to mess with the help docs location
r
sorry, not sure how to do that
r
Open setting ctrl+, and search for cfml.
Also, make sure you don't have both CFML extensions installed as they may conflict. You may have another extension that conflicts as well. I'd recommend disabling all extensions except the CMFL one and see if it works then.
r
CRTL+ Enlarges the zoom size.
r
ctrl and ,
r
I have it open, what should I look for?
r
Search for cfml and then look for a definitions setting.
r
message has been deleted
r
I believe it's cfdocs by default. You can also clone the repo and host it locally so it's faster.
It's called global definitions source.
r
message has been deleted
r
Can you get to cfdocs.org in a browser and have you tried disabling all extensions except cfml? You also have to be in a cfm or cfc file.
r
You just solved my issue. Thank you. Once I saved 8the file, then the "intellisence" worked
2
t
You can set the language to "cfml" before saving the file too if you're just doing a snippet or something.