Граф коммитов

72 Коммитов

Автор SHA1 Сообщение Дата
Gunnar Wagenknecht 59560a229f Activate test execution on Travis CI (#16)
* Ignore Eclipse .project file
* Enable tests on Travis
* Install sfdx cli
* Use Node 7

@w-4092803@
2017-07-27 07:05:20 +02:00
Nick Chen 579b0efcd8 Update the Apex jar
@W-4144234@
2017-07-26 09:24:32 -07:00
Gunnar Wagenknecht e664fef15d Add branching information to contribution guide (#14) 2017-07-26 12:57:12 +02:00
Gunnar Wagenknecht 45056e2982 Update Travis CI URLs 2017-07-25 08:33:20 +02:00
Nick Chen 0ac4e09173 Add contribution guide (#13) 2017-07-24 14:23:17 -07:00
Nick Chen c9e88ac92a Update license in package.json 2017-07-22 10:12:29 -07:00
Nick Chen 13c5f0c27a Add scripts for publishing to VS Code Marketplace
* Simplify command invocations are npm scripts
* Add shortcuts for running these commands from VS Code
* Use shx to run scripts in platform-agnostic manner
* Add scripts to help with packaging and publishing of .vsix
* Add instructions on how to publish
* Clarify how to run on Windows

@W-4162004@
2017-07-21 16:28:53 -07:00
Nick Chen 537f7f1cdb Add BSD-3 License
@W-4165821@
2017-07-21 12:20:04 -07:00
Nick Chen de7e995729 Auto-detect JAVA_HOME
* Localize messages from salesforcedx-vscode-apex
* Add find-java-home as last resort to locate java
* Add a setting to specify location of JAVA_HOME for VS Code
* Clarify message that we are looking for 1.8
* Add the Apex Language Server output to a channel

@W-4147551@
2017-07-21 09:50:08 -07:00
Nick Chen cfee6cb67e Update all the command text to plain English form
* Update all the UI text

* Update naming for force:source:push

* Clarify how to test localization changes

* Updated text based on feedback from doc team

@W-4080270@
2017-07-20 14:39:52 -07:00
Nick Chen fbfb923d7a Localization framework for VS Code (#9)
Dynamic imports in TypeScript 2.4 do not work in the Node runtime. So we have to default back to requires.

However, requires only resolves relative to the path of the module (unless you want to play around with the load path). Thus, we need to do the copy the loadMessageBundle method to the modules where we have localization. 

See the localization.md file for details.

@W-4080270@
2017-07-18 16:08:03 -07:00
Nick Chen 2fc1287252 Handle the case where sfdx binary is not installed (#8)
Also, enforced "ordered-imports": true and reordered imports.

@W-4146476@
2017-07-14 13:46:52 -07:00
Nick Chen 85a7b3babb Add coding-guidelines.md 2017-07-06 11:05:44 -07:00
Nick Chen d0dffd642b Recommend GitLens extension
See https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens
2017-07-06 07:24:53 -07:00
Nick Chen 0e6d3f4af9 Clarify branching model 2017-07-06 07:21:35 -07:00
Nick Chen a0ad8dfc2e Only deference execution.command 2017-07-05 11:04:30 -07:00
Nick Chen 7e7714e28b Localize text in package.json
See https://github.com/Microsoft/vscode/issues/3156 for how to do this.
2017-07-05 11:04:30 -07:00
Nick Chen 12ec597d74 Add tests for statusbar
Also, remove vscode-nls since we are using our own scheme.
2017-07-05 11:04:30 -07:00
Nick Chen fc5e1436a3 Add tests for the Running Tasks View 2017-07-05 11:04:30 -07:00
Nick Chen 144c4ccb49 Clean up statusBar
Make all tasks cancellable for now. This is not really true for force:auth:web:login since that spawns children processes.
2017-07-05 11:04:30 -07:00
Nick Chen 30bdf16254 Add a tree view for the running tasks
This requires using code >= 1.13
2017-07-05 11:04:30 -07:00
Nick Chen 9a31f80fe6 Tests for channels and notifications
Restructured the notifications and channels as services.
2017-07-05 11:04:30 -07:00
Nick Chen f205358162 Change tests from tdd to bdd
Fits better with our other tests strategies.
2017-07-05 11:04:30 -07:00
Nick Chen 384f5135e8 Clarify initial set up steps for repo 2017-07-05 10:19:16 -07:00
Nick Chen c90d735edf Update tests.md (#5)
I submitted two PRs to allow for the tests to specify an extensions folder as well.

https://github.com/Microsoft/vscode-extension-vscode/pull/71
https://github.com/Microsoft/vscode-docs/pull/1063
2017-07-03 10:59:05 -07:00
Nick Chen 41c580901b Add icons for the extensions (#2)
Also, remove "@salesforce" scope from package.json for VS Code extensions

@W-4093458, W-4093566@
2017-07-02 13:27:34 -07:00
Nick Chen ad08452a3b Update README.md 2017-06-30 10:04:04 -07:00
Gunnar Wagenknecht 099e961101 Activate Travis CI (#1)
@W-4092799@
2017-06-30 09:59:35 -07:00
Nick Chen ce19253a50 Add .github templates 2017-06-29 09:51:58 -07:00
Nick Chen 3affb3a070 Add .vscodeignore for Lightning and VisualForce 2017-06-29 08:14:42 -07:00
Nick Chen 19bf8d64aa Add tests for file associations 2017-06-29 08:14:42 -07:00
Nick Chen c7d9a63e50 Add syntax highlighting for Lightning and Visualforce
This is based on the HTML extension in VSCode. It's capable of understanding embedded JavaScript and CSS.
2017-06-29 08:14:42 -07:00
Nick Chen e4f637aba1 Use tslint:no-var-requires 2017-06-27 11:45:43 -07:00
Nick Chen 73cbf2eeef Restructure how we handle errors from build
lerna produces output that don't match well with how tsc-watch handles it. We need a different strategy. So, for now, don't use watch but explicitly build if you want to get the problem markers.
2017-06-27 11:45:43 -07:00
Nick Chen 1c8e60f1c3 Package salesforcedx-vscode-apex under right package
Also, change the clean script to not remove the apex-jorje-lsp.jars wrongly.
2017-06-27 11:45:43 -07:00
Nick Chen 47bd0d1024 Ignore ts-lint warning
This is  a small use of require and it's easier than starting an ambient declaration.
2017-06-27 11:45:43 -07:00
Nick Chen 470ddc98ee First version of cancelable and reportable commands 2017-06-27 11:45:43 -07:00
Nick Chen de6d2810b2 Used @salesforce scoped packages 2017-06-26 11:03:59 -07:00
Nick Chen 0d56d6fe10 Consolidate .gitignore to top-level 2017-06-26 11:03:59 -07:00
Nick Chen e1e35c5743 Add tests for commandExecutor 2017-06-26 11:03:59 -07:00
Nick Chen 7dc97a4e74 Hook in npm test for the salesforcedx-util-vscode package
This way you can just do `lerna run test --concurrency 1`
2017-06-26 11:03:59 -07:00
Nick Chen cf744dd1f4 First conversion to use the new CommandExecutor 2017-06-26 11:03:59 -07:00
Nick Chen 74ebe90280 Spike on reference the CommandBuilder from salesforcedx-vscode-core 2017-06-26 11:03:59 -07:00
Nick Chen 9c73b33a18 Reorganize the impl
I realized that if we can control what is being exposed through the index.ts then we don't need explicit "impl" folder.
2017-06-26 11:03:59 -07:00
Nick Chen 77b5243a67 Store the description in the Command 2017-06-26 11:03:59 -07:00
Nick Chen a9cb4a2528 Add a convenience SfdxCommandBuilder
Also, use index.ts to control what is being exposed so that you cannot just access the constructor for Command.
2017-06-26 11:03:59 -07:00
Nick Chen 809fbd726b Create Command and CommandBuilder
These go into the impl folder since they aren't stable enough to commit as api yet.
2017-06-26 11:03:59 -07:00
Nick Chen 247a096f0a Set default space size to 2 to more closely match prettier
This is not an issue per-se since prettier will trim the spaces back to 2. But setting it to 2 in the first place will help eliminate the surprising why-did-my-indentation-just-shrink reaction.
2017-06-26 11:03:59 -07:00
Nick Chen 0510f3f590 Add mocha as a recommended workspace extension
This one provides simple snippets.
2017-06-26 11:03:59 -07:00
Nick Chen 3077e2cecd List commands in ActivationEvents
This prevents "no handler found for the command xx.yy.zz".

See https://github.com/Microsoft/vscode/issues/810
2017-06-21 19:41:44 -07:00