vscode-cfml
vscode-cfml copied to clipboard
Many missing completion suggestions for tags and attribute values
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.
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:
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?
Ok, so I got it to work which is great :)
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: