• Fernando Gonzalez 24
  • NEWBIE
  • 10 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 5
    Replies
When developing in VS Code - problems in apex code are only showing up after I try to deploy. And, if i get multiple problems i can't resolve them all without having to deploy for every problem. As soon as I correct one, the other problems disappear but as soon as I deploy again, the problems/errors in my apex code show up again.

Is there a setting I need to switch?
Is this a bug?
Is this an unintuitive feature?
I am developing with VS Code and have it set up with my sandbox. However when I create instances of objects I do not get the helpful list of class properties. 

example:

Account account = new Account();
account.(should show correct properties here)
 
When developing in VS Code - problems in apex code are only showing up after I try to deploy. And, if i get multiple problems i can't resolve them all without having to deploy for every problem. As soon as I correct one, the other problems disappear but as soon as I deploy again, the problems/errors in my apex code show up again.

Is there a setting I need to switch?
Is this a bug?
Is this an unintuitive feature?
How to capture address from Google returned json fromat to fill into account billing address fields
From the below String how to fill Account billing address details automatically 
Here i am unable too parse the long_name,it repeats so how to identify street,District,State,Country,Pincode and fill all these details into Account billing Street,Billing state,Billing city,etc 
{
   "plus_code" : {
      "compound_code" : "9FPP+2M Hyderabad, Telangana, India",
      "global_code" : "7J9W9FPP+2M"
   },
   "results" : [
      {
         "address_components" : [
            {
               "long_name" : "19",
               "short_name" : "19",
               "types" : [ "premise" ]
            },
            {
               "long_name" : "Subhash Nagar",
               "short_name" : "Subhash Nagar",
               "types" : [ "political", "sublocality", "sublocality_level_3" ]
            },
            {
               "long_name" : "Badi Chowdi",
               "short_name" : "Badi Chowdi",
               "types" : [ "political", "sublocality", "sublocality_level_2" ]
            },
            {
               "long_name" : "Bahadurpura",
               "short_name" : "Bahadurpura",
               "types" : [ "political", "sublocality", "sublocality_level_1" ]
            },
            {
               "long_name" : "Hyderabad",
               "short_name" : "Hyderabad",
               "types" : [ "locality", "political" ]
            },
            {
               "long_name" : "Hyderabad",
               "short_name" : "Hyderabad",
               "types" : [ "administrative_area_level_2", "political" ]
            },
            {
               "long_name" : "Telangana",
               "short_name" : "Telangana",
               "types" : [ "administrative_area_level_1", "political" ]
            },
            {
               "long_name" : "India",
               "short_name" : "IN",
               "types" : [ "country", "political" ]
            },
            {
               "long_name" : "500064",
               "short_name" : "500064",
               "types" : [ "postal_code" ]
            }
         ],
         "formatted_address" : "19, Subhash Nagar, Badi Chowdi, Bahadurpura, Hyderabad, Telangana 500064, India",
 
When developing in VS Code - problems in apex code are only showing up after I try to deploy. And, if i get multiple problems i can't resolve them all without having to deploy for every problem. As soon as I correct one, the other problems disappear but as soon as I deploy again, the problems/errors in my apex code show up again.

Is there a setting I need to switch?
Is this a bug?
Is this an unintuitive feature?
I am developing with VS Code and have it set up with my sandbox. However when I create instances of objects I do not get the helpful list of class properties. 

example:

Account account = new Account();
account.(should show correct properties here)
 
After installing VS Code and adding the Salesforce extensions, I get the error: "Java 8 is required to run. Download and install it from https://java.com/en/download/.", although I have Java 9 running. What can I do to fix that?