-
-
Notifications
You must be signed in to change notification settings - Fork 10
Developer
If you want to develop a feature or fix a bug for this project, you'll need to follow the following steps to ensure the project will compile.
- Visual Studio (VS) 2022 Community Edition (or higher)
Simple clone this repo and start developing.
This repo used the official CmdPal nuget package, so it shouldn't require any special setup.
- Fork then clone to your local disk
git clone https://github.com/lin-ycv/EverythingCommandPalette.git --depth 1 - Open solution in VS. Develop and compile as needed
- If there's errors about nuget package, do a package restore.
Normal builds aren't that helpful, since CmdPal only loads extensions through "packaged COM activation".
If you're debugging, simply launch the Debugger, but CS/WinRT doesn't expose anything helpful to CmdPal about exceptions thrown in the extension process - only that one happened.
If you want to do a local install from the solution, use the Deploy option.
If you want to generate a app package, use Pack or Publish -> Create App Package
This is the recommended method, as VS Resource Explorer makes it easy to cross-compare the value you are editing. However, it does require you to install VS.
- Clone ECP repo
- Skip step 2 if you're editing a pre-existing translation
- Duplicate
Resources.resxin Properties folder and rename toResource.(Locale code).resx- ie:
Resources.zh-tw.resx - Locale code is made up of 2 parts ISO 639-1 language code and ISO 3166-1 country code
- ie:
- Duplicate
- Open solution in VS
- Navigate to Resource Explorer and edit the values as needed.
- Create a PR
This method does not require you to install any additional software, as you can open resx files in notepad.
-
- If creating a new translation:
- Download the English Resource file and rename to
Resource.(Locale code).resx- ie:
Resources.zh-tw.resx - Locale code is made up of 2 parts ISO 639-1 language code and ISO 3166-1 country code
- ie:
- Download the English Resource file and rename to
- If editing a pre-existing translation:
- Download the respective Resource file
- If creating a new translation:
- Edit the
<value>field- If you don't have a translation for a certain value, or if you wish to use the English text, you can simply delete the
datatag for that value
- If you don't have a translation for a certain value, or if you wish to use the English text, you can simply delete the
- Create a PR
If there's any issues with any documentations, please open a Discussion, or create a PR with the appropriate fixes