http://coldfusion.com logo
#cfml-general
Title
# cfml-general
r

Rick Morayniss

02/25/2022, 1:48 PM
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

Matt Jones

02/25/2022, 2:01 PM
If you open extension , does it say enabled? Also, what are you expecting to see but aren't?
r

Rodney

02/25/2022, 2:08 PM
Also, make sure your CFML extension is the one by KamasamaK.
I'd also recommend the CFLint extension as well.
👍 1
r

Rick Morayniss

02/25/2022, 2:16 PM
Both say enabled. Maybe part of the problem is my expectation. I expected something similar to intellisence
r

Rodney

02/25/2022, 2:28 PM
You should get something similar to Intellisense. However, it generally only works well with cfscript and components.
m

Matt Jones

02/25/2022, 2:33 PM
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

Rick Morayniss

02/25/2022, 2:34 PM
I was typing <cf then expected something to come up (like cfoutput) but nothing appeared
m

Matt Jones

02/25/2022, 2:36 PM
it should definitely show a list, that narrows as you type
r

Rick Morayniss

02/25/2022, 2:37 PM
I get nada
m

Matt Jones

02/25/2022, 2:37 PM
you might have to mess with the help docs location
r

Rick Morayniss

02/25/2022, 2:38 PM
sorry, not sure how to do that
r

Rodney

02/25/2022, 2:39 PM
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

Rick Morayniss

02/25/2022, 2:44 PM
CRTL+ Enlarges the zoom size.
r

Rodney

02/25/2022, 2:44 PM
ctrl and ,
r

Rick Morayniss

02/25/2022, 2:46 PM
I have it open, what should I look for?
r

Rodney

02/25/2022, 2:47 PM
Search for cfml and then look for a definitions setting.
r

Rick Morayniss

02/25/2022, 2:48 PM
message has been deleted
r

Rodney

02/25/2022, 2:48 PM
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

Rick Morayniss

02/25/2022, 2:50 PM
message has been deleted
r

Rodney

02/25/2022, 2:52 PM
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

Rick Morayniss

02/25/2022, 2:53 PM
You just solved my issue. Thank you. Once I saved 8the file, then the "intellisence" worked
2
t

Tim

02/26/2022, 1:38 AM
You can set the language to "cfml" before saving the file too if you're just doing a snippet or something.
3 Views