GithubHelp home page GithubHelp logo

Comments (28)

daishi4u avatar daishi4u commented on August 24, 2024

See if 3.9.2 fixes this for you

from forcecode.

tomas-migra avatar tomas-migra commented on August 24, 2024

I installed 3.9.2 and same issue occurred to me. Before I used 3.9.1 and it worked fine. I will try to downgrade to 3.9.0

from forcecode.

daishi4u avatar daishi4u commented on August 24, 2024

Strange, nothing changed between 3.9.0 and 3.9.1 that would have effected using the menu

from forcecode.

Xander567 avatar Xander567 commented on August 24, 2024

I get the same issue. Starting up vscode and the only menu items that work are Open file in browser, and open org.

Btw, the 3.9.2 release bundle doesn't include the 3.9.2 vsix file.

from forcecode.

RobertCollinsCauseview avatar RobertCollinsCauseview commented on August 24, 2024

Unfortunately updating to version 3.9.2 has the same issue occurring.

from forcecode.

daishi4u avatar daishi4u commented on August 24, 2024

OK everyone can you post the last working version that each of you used?

from forcecode.

daishi4u avatar daishi4u commented on August 24, 2024

Can I also get you guys to try something for me. Will you open a file in your project after starting vscode, not from the forcecode menu, just open one from the explorer. Now leave that file open and close vscode then start it again. Do you still have the same issue after this? If this solved the issue then let me know because I know exactly where the problem is then. If the problem is still there then keep vscode open and go to the help menu on the top and then select toggle developer tools and copy and paste any error that may be in the console into here please. Thanks everyone

from forcecode.

RobertCollinsCauseview avatar RobertCollinsCauseview commented on August 24, 2024

I believe the last working version I had was version 3.8.7.

So I did 2 things, I deleted everything in my workspace other than my src folder. Then I opened VSCode and opened ForceCode Menu. When I clicked refresh on all the items that show changes only one actually refreshed. I decided to try what you suggested and left the file I wanted to save up open and restarted. When I opened VSCode again, ForceCode show the files I need to refresh again and properly refreshed. It seems to be working again now even if I open a file that wasn't open before. I will try restarting it and everything again before I leave work today to see if it is still working on a restart and such.

from forcecode.

daishi4u avatar daishi4u commented on August 24, 2024

Can any of you try out this pre-release to see if it solves your issue: https://github.com/daishi4u/ForceCode/raw/testing-menu-fix/forcecode-3.9.3-b1.vsix

from forcecode.

tomas-migra avatar tomas-migra commented on August 24, 2024

I tried 3.9.9-b1 and no change for me

from forcecode.

daishi4u avatar daishi4u commented on August 24, 2024

OK, well I need to know what the error is then. Someone needs to test with the developer tools in vscode open so they can view any errors that are printed to the console, otherwise I won't be able to get this fixed because I haven't been able to reproduce this issue on my end and I've tested on Linux, windows 7 and windows 10. Thanks

from forcecode.

camerongoodman avatar camerongoodman commented on August 24, 2024

Same issue here..

from forcecode.

tomas-migra avatar tomas-migra commented on August 24, 2024

Are you guys using sfdx cli in vscode? I created new project by forcecode only in new folder and now it works. Only thing changed is that .sfdx folder now is missing

from forcecode.

daishi4u avatar daishi4u commented on August 24, 2024

Forcecode works alongside of the sfdx extensions and will actually create the sfdx folder if it doesn't exist for code completion separate on each org, so that folder being gone has nothing to do with the problem. Could solve it if someone would look at the developer tools in vscode while facing the problem, but until then I can't fix it

from forcecode.

raghurankawat avatar raghurankawat commented on August 24, 2024

Just to add ...I faced the same issue in 3.9.1 once. I tried different things to resolve but nothing worked. Then I deleted .sfdx/tools/apex.db and tried and it was working as expected.

from forcecode.

torcu avatar torcu commented on August 24, 2024

same issue using 3.9.0
Also 15 files in runing tasks (they do get updated in my local).
I have noticed this since I use ForceCode along with version control (probably nothing to do with it)
No errors shown in the developer tools.

screenshot_4

screenshot_5

from forcecode.

torcu avatar torcu commented on August 24, 2024

Forcecode works alongside of the sfdx extensions and will actually create the sfdx folder if it doesn't exist for code completion separate on each org, so that folder being gone has nothing to do with the problem. Could solve it if someone would look at the developer tools in vscode while facing the problem, but until then I can't fix it

  • Tried deleting .sfdx/tools/apex.db . It doesn't seem to fix the problem
  • Tried again with a different org but now I can see some errors in the console:

screenshot_6

from forcecode.

fabianPas avatar fabianPas commented on August 24, 2024

I'm having the same issue exactly as described here.

from forcecode.

daishi4u avatar daishi4u commented on August 24, 2024

OK, when you guys face the error, can you open the output panel and view the output from the apex language server?

from forcecode.

torcu avatar torcu commented on August 24, 2024

No errors in there.

screenshot_7

from forcecode.

daishi4u avatar daishi4u commented on August 24, 2024

Do you guys have anything extra in your force.json or something misspelled by chance?

from forcecode.

daishi4u avatar daishi4u commented on August 24, 2024

You can all try 3.9.3 and see if it will work for you, but please answer the previous question as well. Thanks

from forcecode.

torcu avatar torcu commented on August 24, 2024

Do you guys have anything extra in your force.json or something misspelled by chance?

Hi

I don't think so, I've got the file created and didn't change it: just in case:

{
"apiVersion": "43.0",
"autoRefresh": false,
"browser": "Google Chrome Canary",
"checkForFileChanges": true,
"debugFilter": "USER_DEBUG|FATAL_ERROR",
"debugOnly": true,
"deployOptions": {
"allowMissingFiles": true,
"checkOnly": false,
"ignoreWarnings": true,
"rollbackOnError": true,
"runTests": [],
"singlePackage": true,
"testLevel": "NoTestRun",
"purgeOnDelete": false
},
"maxFileChangeNotifications": 15,
"overwritePackageXML": false,
"poll": 1500,
"pollTimeout": 1200,
"prefix": "",
"revealTestedClass": false,
"showFilesOnOpen": true,
"showFilesOnOpenMax": 3,
"showTestCoverage": true,
"showTestLog": true,
"spaDist": "",
"srcDefault": "",
"srcs": {},
"outputQueriesAsCSV": false,
"src": "src",
"url": "https://test.salesforce.com",
"autoCompile": true,
"username": "username@test"
}

from forcecode.

daishi4u avatar daishi4u commented on August 24, 2024

Thanks @torcu, just want to cover all bases.

from forcecode.

torcu avatar torcu commented on August 24, 2024

You can all try 3.9.3 and see if it will work for you, but please answer the previous question as well. Thanks

This one works for me!
Cheers!

from forcecode.

daishi4u avatar daishi4u commented on August 24, 2024

@RobertCollinsCauseview, @tomas-migra, @Xander567, @rock-pile, @raghurankawat, @fabianPas

Can you all try the newest version as well (3.9.3) and let me know, since @torcu says it works for them. Thanks everyone!

from forcecode.

tomas-migra avatar tomas-migra commented on August 24, 2024

Works for me as well

from forcecode.

raghurankawat avatar raghurankawat commented on August 24, 2024

@daishi4u 3.9.3 is working fine for me. Thanks

from forcecode.

Related Issues (20)

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.