Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins and Cloud storage #9168

Closed
d0vgan opened this issue Nov 16, 2020 · 4 comments
Closed

Plugins and Cloud storage #9168

d0vgan opened this issue Nov 16, 2020 · 4 comments
Assignees

Comments

@d0vgan
Copy link
Contributor

d0vgan commented Nov 16, 2020

Notepad++ allows to store its setting in the Cloud. I mean the Settings -> Preferences -> Cloud -> Set your cloud location path.
However, there is nothing related to Cloud in the “Notepad_plus_msgs.h” and, as far as I can see, Notepad++'s plugins are not aware of the Cloud path.

Suggestion 1:
Maybe let’s add a new check-box “Store plugin’s settings in the Cloud” and make NPPM_GETPLUGINSCONFIGDIR to return the Cloud path in this case? Thus, the plugins will be able to use the Cloud path automatically.

Suggestion 2:
Maybe let’s add a new message similar to NPPM_GETSETTINGSCLOUDPATH? In such case, Notepad++'s plugins will be able to retrieve the Cloud path manually and deal with this path.

Steps to Reproduce the Issue

  1. Specify some Cloud location in the Settings
  2. Ensure that Notepad++ itself uses the Cloud location for its settings
  3. What about Notepad++'s plugins?

Expected Behavior

Notepad++'s plugins need to be aware of the Cloud location to be able to store their settings there - either explicitly or implicitly.

Actual Behavior

Notepad++'s plugins are not aware of the Cloud location

Debug Information

Notepad++ v7.9.1 (32-bit)
Build time : Nov 2 2020 - 01:03:56
Path : C:\Progs\Notepadpp\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 7 Professional (64-bit)
OS Build : 7601.0
Current ANSI codepage : 1251
Plugins : mimeTools.dll NppConverter.dll NppExec.dll NppExecPluginMsgTester.dll NppExport.dll XBrackets.dll

@d0vgan
Copy link
Contributor Author

d0vgan commented Nov 16, 2020

Related issues:
#5317 Not all XML config files saved to local path (Cloud setting)
#4696 Feature request: Customizable user path

@donho donho self-assigned this Nov 16, 2020
@donho donho closed this as completed in 7874f8d Nov 19, 2020
@donho
Copy link
Member

donho commented Nov 19, 2020

@d0vgan Could you confirm me if the new API works as expected please?

@d0vgan
Copy link
Contributor Author

d0vgan commented Nov 19, 2020

Confirming, NPPM_GETSETTINGSONCLOUDPATH returns the Cloud path when it is set.

@afwn90cj93201nixr2e1re
Copy link

@d0vgan thx for time wasting.

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

No branches or pull requests

3 participants