# ForceCode

> Visual Studio Code extension for Salesforce (SFDC) development

Latest version **0.0.25** (published 2016-06-13) · 0 weekly downloads

## Install

```sh
npm install ForceCode
pnpm add ForceCode
yarn add ForceCode
bun add ForceCode
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: insecure dependencies; abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.25 |
| Published | 2016-06-13 |
| First published | 2016-06-13 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Known vulnerabilities | 0 (+6 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 163 |
| Author | CodeScience |
| Maintainers | johnaaronnelson |

## Links

- npm: https://www.npmjs.com/package/ForceCode
- Repository: https://github.com/celador/ForceCode
- Homepage: https://github.com/celador/ForceCode#readme
- Issues: https://github.com/celador/ForceCode/issues
- npm.io page: https://npm.io/package/ForceCode

## Dependencies (12)

- [chalk](https://npm.io/package/chalk.md) ^1.1.1
- [jszip](https://npm.io/package/jszip.md) ^2.5.0
- [unzip](https://npm.io/package/unzip.md) ^0.1.11
- [jquery](https://npm.io/package/jquery.md) ^2.2.2
- [moment](https://npm.io/package/moment.md) ^2.11.2
- [xml2js](https://npm.io/package/xml2js.md) ^0.4.16
- [globule](https://npm.io/package/globule.md) ^0.2.0
- [jsforce](https://npm.io/package/jsforce.md) github:celador/jsforce
- [archiver](https://npm.io/package/archiver.md) ^0.21.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^0.26.5
- [xkeychain](https://npm.io/package/xkeychain.md) 0.0.6
- [readable-stream](https://npm.io/package/readable-stream.md) ^2.0.5

## Recent versions

- 0.0.25 (latest) — 2016-06-13

## README

# ForceCode for Visual Studio Code
This extension is a companion for SFDC development with Visual Studio Code. 

##Features
* Execute Anonymous
* View Debug Logs 
* Open / Retrieve a file
* Save / Compile / Deploy a file 
  * w/ line errors in the editor
* [Not fully implemented] Retrieve Package
* [Not fully implemented] Deploy Package
* [Not fully implemented] Build/Deploy Static Resource(s)

## Configuration
To assign your username and password, include the following json in your `settings.json` file, inside the `.config` folder
```
{
    "sfdc": {
        "username": "${ Username }",
        "password": "${ Password }",
        "token": "${ Token }",
        "autoCompile": true
    }
}
```
####Get errors as you type
The Auto-compile feature adds a hook to the save command that will automatically deploy and compile your code to your SFDC org whenever you save.  This works great with VSCode's autosave feature, providing errors as you type.  

##Commands
Forcecode provides a number of commands to work with your Salesforce org and metadata.
###Execute Anonymous
\>Force: Execute Anonymous  
Keyboard: alt + cmd + e

###Compile
\>Force: Save/Deploy/Compile  
Keyboard: alt + cmd + s

###Get Log
\>Force: Get Logs  
Keyboard: alt + cmd + i

###Open  
\>Force: Get Class, Page, or Trigger  
Keyboard: alt + cmd + o

###Retrieve Package
\>Force: Get Package from Org  


## Future goals
* Test runner
* Intellisense code completion
* Debug Apex code with breakpoints in the editor
* Lightning component builder

---
_Source: https://npm.io/package/ForceCode · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
