vscode-cfml icon indicating copy to clipboard operation
vscode-cfml copied to clipboard

Many missing completion suggestions for tags and attribute values

Open jordan-kaxig opened this issue 1 year ago • 2 comments

I am missing a lot of attributes for autosuggestion, for example the cfsqltype. And also, I am missing the available values to input for that attribute (i.e "cf_sql_integer" etc). Have been using DreamWeaver 2015 until now, but have to switch to VS Code as I'm buying a new computer and have checked your plugin out. And it seems promising. But need attributes and attribute values also. image

jordan-kaxig avatar Apr 03 '23 18:04 jordan-kaxig

I've just realized that I have no completion suggestions at all. All my suggestions have been based on the current already existing code. So if I open a blank cfm file with no other files open, I have no suggestions at all: image

It says in the documentation:

Completion Suggestions Suggestions for global functions, global tags and attributes, enumerated values, user functions, keywords, scopes, component properties, variables, component dot-paths, docblocks, HTML tags and attributes, and CSS properties. Does not always consider context, so it may trigger inappropriately.

Where should the suggestion come from? The CfDocs?

jordan-kaxig avatar Apr 05 '23 11:04 jordan-kaxig

Ok, so I got it to work which is great :)

image

Some times it will not trigger, but I can trigger it manually, as the docs says:

Does not always consider context, so it may trigger inappropriately. Win/Linux: Ctrl+Space; Mac: Cmd+Space

It was a problem with the local cf doc path. I hadn't pointed it at the language folder "en", as also stated in the docs:

image

jordan-kaxig avatar Apr 05 '23 11:04 jordan-kaxig