Skip to content

Added doxygen patterns, modified settings names, corrected the incorrect load of settings files#16

Open
YValeri wants to merge 2 commits into
Rapptz:masterfrom
YValeri:master
Open

Added doxygen patterns, modified settings names, corrected the incorrect load of settings files#16
YValeri wants to merge 2 commits into
Rapptz:masterfrom
YValeri:master

Conversation

@YValeri

@YValeri YValeri commented Aug 16, 2019

Copy link
Copy Markdown

I added new patterns for doxygen : class, struct, enum, define, start of file (symbolized by include).
When one of these patterns is detected, the special comment block created is changed to be more accurate, and use specific doxygen commands.

I also modified the name for the load_settings function, as it was not the right setting file name ("DoxyDoc.sublime-settings" instead of "Doxydoc.sublime-settings", so the setting file was never loaded, and the javadoc setting was always at true).

I changed the name of the settings, because if other packages use those same names, there will be conflicts, so better safe than sorry.

Added few regexp for identifiers, though they may be clunky (i'm not an expert of regexp), they work for the things i do, and don't break anything.

Added doxygen patterns specific for class, struct, enum, define, start of file (symbolized by include).
Modified the string in the load_settings, as it wouldn't load anything for me.
Modified the names for settings, because these names might be used by other packages, and conflicts may arise.
Modified the names in the settings files, because if other packages use those same names, conflicts may arise.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant