Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change folder location of auto-completion for zipped package
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
90c724a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a discussion concerning the APIs folder, see this posting and the following: https://notepad-plus-plus.org/community/topic/16790/notepad-7-6-1/8
If you want to change the location of this directory, it would be the best to change it to %ProgramData%\Notepad++\autoCompletion because there are plugins which are actually lexers. This way a future version of Plugins Admin could install this type of plugins as well.
I'm aware of 3 plugins, which currently store files to the APIs directory, WLangLexer, MaxScriptExplorer and UDL AutoCad.
90c724a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dinkumoil If Notepad++ is installed in
Program Files
, how plugins can write into its sub-folder?90c724a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dinkumoil
as those 3 plugins have to be rewritten anyways due to the path changes, is there any specific reason to use %programdata% instead of $instdir ?
as far as i can see the compatibility of those plugins will be broken anyways, regardless of using %programdata% or $instdir.
and the plugin authors can always put their own additional lexer files in their own plugins sub folder and use them from there, using the official autocompletion files as read only from $INSTDIR\autoCompletion if they need them
90c724a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@donho @MetaChuh
I was talking about %ProgramData% directory. ;-)
The plugins which want to store files in the autoCompletion directory have to be rewritten of course.
See also my comment in the community forum.