mandeep / sublime-text-conda

Work with conda environments in Sublime Text 3
BSD 3-Clause "New" or "Revised" License
26 stars 10 forks source link

Use edit_settings for viewing and modifying package settings #23

Closed jim-hart closed 4 years ago

jim-hart commented 4 years ago

Addresses #22

Consolidated 'Settings - Default' and 'Settings - User' to a single entry, 'Settings'.

Settings files are now opened using the edit_settings command, which opens both Default and User settings in separate columns.

Command definitions were reduced to a single item by making use of the ${platform} environment variable, which, when expanded, provides the host system's platform name.

mandeep commented 4 years ago

Thanks for the PR!

According to https://www.sublimetext.com/docs/3/build_systems.html I think we will also need the corresponding linux, osx, and windows sublime-settings file to match the $platform argument. Would you like to add them to this PR? If not, I don't mind adding them.

jim-hart commented 4 years ago

No problem!

Sorry about not including the platform-specific files, I forgot to check. I pushed a new commit that includes separate definitions. It looks like OSX defaults to ~/opt if using the graphical installer, and ~ if using the command line version. To keep everything in line with the current settings, the OSX file has the same values as the Linux version.

mandeep commented 4 years ago

Looks great and works fine for me on Linux. Thanks again for the PR!