Giter Site home page Giter Site logo

xjsender / haoide-vscode Goto Github PK

View Code? Open in Web Editor NEW
22.0 9.0 6.0 28.16 MB

haoide-vscode is a vscode extension for salesforce development, which is used to replace haoide

License: MIT License

TypeScript 97.53% JavaScript 1.84% Apex 0.08% TeX 0.01% CSS 0.03% HTML 0.39% PHP 0.02% SCSS 0.11%
oauth2-login deploy retrieve apex-completion lwc-completion aura-completion visualforce-completion typescript-salesforce sobject-completion lwc-aura-development

haoide-vscode's People

Contributors

dependabot[bot] avatar lushang avatar naveenila1221 avatar wai-dung avatar xjsender avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

haoide-vscode's Issues

Unable to Authorize Salesforce Playground Org

I have created a Salesforce Playgound Org and am trying to connect to using the Authorize New Project command. When I run the command I give the new Org a name and then are prompted to select a URL to log in. I select the https://custom.salesforce.org and enter the correct url e.g. https://ap23.salesforce.com when the browser window opens the url is https://test.salesforce.com.

If I use this url it fails to log in as the instance is test not ap23.

If I change the address to ap23, which is the correct org for logging in, I get an error in vscode

There has problem with login: StatusCodeError: 400 - {"error":"invalid_grant","error_description":"authentication failure"}

Execute Anonymous Error

Hi

I executed below code in VS Code anonymous window:

List<String> tempList = new List<String>(); tempList.add('aaaaa'); tempList.add('bbbbb'); tempList.add('ccccc'); System.debug(tempList);

Getting an error message :

500 - "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/\">soapenv:Bodysoapenv:Faultsoapenv:ClientUnexpected element {}String during simple type deserialization</soapenv:Fault></soapenv:Body></soapenv:Envelope>"

Unable to update Package Version

Unable to update the salesforce package version to latest version. I tried updating the same through Extension setting and event at Project level. Nothing worked for me

Unable to save Aura Component Controller/helper

Hi,

I am getting below error while trying to save Aura Component Controller/Helper.

However Component (i.e., HTML) part is saving without any problem.

An object "Aura Component Controller/Helper" of type AuraDefinitionBundle was named in package.xml, but was not found in zipped directory

Thanks in advance.

Regards,
Naveen Ila

Reuse sfdx authentification

When creating a project (or a connection to an org), it would be really interesting to be able to reuse already sfdx connected environment

Wrong Metadata definition for Visualforce Page

Hi,

I tried creating an visualforce page using the Option
HaoIde: Create New Visulaforce Page

The page created and sits in the src/pages folder of my project.
However I am unable to save the back to the server.

When I opened the metadata xml of the page. It is showing "ApexTrigger" instead of ApexPage. Below you can find the sample of it.

<?xml version="1.0" encoding="UTF-8"?>
<ApexTrigger xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>46.0</apiVersion>
    <label>TestDevForumQues</label>
</ApexTrigger>

NOTE: I do proposed file changes can you review and accept the same.

No indication of errors when using Save this file to server

I have noticed that when using the "Save This File To Server" command that there is no indication that an error has occurred and that the file was not saved. As opposed to the "Deploy This File To Server" command which displays errors. Is there any way that Save behavior can be altered to indicate a problem saving?

image

The error mouse cursor position don't is not accurate.

Dear,
when I try to save my apex code to server but the error occurs.
The errors display in the console log but the mouse cursor don't locate the error line.
It's a very helpful function that can locate the accurate error line.

Installation

It would be a good idea for you to update the README file with step by step instructions on how to install vscode and haoide-vscode. Its not a good idea to assume that all Salesforce Dev's will know how to do this.

No code hinting after a variable/method is defined

After a variable/method is defined, there is no code hinting when we try to type the variable/method, we have to go back to the place where the variable/method we define before if we forget the variable/method name.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.