KamasamaK / vscode-cfml

An extension for Visual Studio Code to assist in development with CFML.
MIT License
77 stars 23 forks source link

Outline #10

Closed bardware closed 6 years ago

bardware commented 6 years ago

Hi,

I just took notice of the fact there are plugins that display Outlines of code files like: https://marketplace.visualstudio.com/items?itemName=patrys.vscode-code-outline. Can your plugin tokenize CFML code and fill an Outline view?

Similar issues in other projects https://github.com/Microsoft/vscode-go/issues/919 https://github.com/Microsoft/vscode/issues/5605

KamasamaK commented 6 years ago

This extension provides Document Symbols, which are used to populate the outline view in Code Outline. The Code Outline extension is actually one of my Recommended Extensions since it is not yet integrated into VS Code, though as you pointed out is one of the most requested features.

bardware commented 6 years ago

Thanks for the explanation. I had your extension active and the Outline plugin installed but it stayed empty. I don't understand why and how but in the meantime I saw it working. In a cfc I saw the functions and even a couple tokens in the function. Works nicely. Thanks alot.