Added doxygen patterns, modified settings names, corrected the incorrect load of settings files#16
Open
YValeri wants to merge 2 commits into
Open
Added doxygen patterns, modified settings names, corrected the incorrect load of settings files#16YValeri wants to merge 2 commits into
YValeri wants to merge 2 commits into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.