Skip to content

eliver/vscode-apex-autocomplete

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apex Auto-complete +

This extension provides code completion and other language services for the salesforce apex programming language.

Features

Code Completion

Code Completion

SOQL Completion

Currently provides auto-complete on the following:

  • System namespaces
  • Class methods & properties
  • Annotations
  • Visualforce tags & Attributes (beta)
  • SObject fields (requires auth)
  • SOQL Queries (requires auth)

Go-to/Peak Definition

Go To Definitions

Quickly navigate to variable, function & class declarations

Syntax checking

Save time by spotting grammatical errors before sending code up to salesforce to compile.

Requirements

  • src folder must be in root of workspace
  • Java runtime installed an on path

Configuration

Apex Class & VisualForce completions should work "out of the box".

To get completions on SObject & SOQL Queries, you must add org creditionals to your workspace settings:

     // SF User Name
    "apexAutoComplete.userName": "[email protected]",

    // Password + Security Token
    "apexAutoComplete.password": "abc123456789",

    // Login Url
    "apexAutoComplete.instanceUrl": "https://test.salesforce.com",

    // enables grammatic syntax checking on document change
    "apexAutoComplete.checkSyntax": "true",

Please reload after updating settings!

Known Issues

After running a completion for the first time, a folder called .vim-foce.com will be created in your workspace root. This is a side effect of the current version of tooling-force.com.

Legal

This is pretty much just a container for the autocomplete functionality from the tooling-force.com library by Andrey Gavrikov.

Third-Party Licenses:

About

Adds auto-completion for Salesforce Apex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%