Comments (28)
See if 3.9.2 fixes this for you
from forcecode.
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.
Strange, nothing changed between 3.9.0 and 3.9.1 that would have effected using the menu
from forcecode.
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.
Unfortunately updating to version 3.9.2 has the same issue occurring.
from forcecode.
OK everyone can you post the last working version that each of you used?
from forcecode.
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.
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.
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.
I tried 3.9.9-b1 and no change for me
from forcecode.
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.
Same issue here..
from forcecode.
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.
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.
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.
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.
from forcecode.
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:
from forcecode.
I'm having the same issue exactly as described here.
from forcecode.
OK, when you guys face the error, can you open the output panel and view the output from the apex language server?
from forcecode.
No errors in there.
from forcecode.
Do you guys have anything extra in your force.json or something misspelled by chance?
from forcecode.
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.
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.
Thanks @torcu, just want to cover all bases.
from forcecode.
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.
@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.
Works for me as well
from forcecode.
@daishi4u 3.9.3 is working fine for me. Thanks
from forcecode.
Related Issues (20)
- Feature Request: per org options when using "srcs" options in force.json for multiple orgs. HOT 2
- VisualForce Compile Error in Controller HOT 1
- RFI: Code completion HOT 2
- Running the contributed command:'ForceCode.showMenu' failed HOT 2
- Local Host Error while connecting to a sandbox HOT 3
- Run all Tests HOT 1
- Ability to abort Forcecode task HOT 1
- Error while saving HOT 3
- Running the contributed command:'ForceCode.showMenu' failed After Open .Vscode HOT 2
- Deployment by package.xml fails HOT 3
- ForceCode is deleting active scratch orgs HOT 1
- "Retrieve Package/Metadata -> Get All Files from org" never finishes HOT 1
- Feature Request: Add Support for Lightning Web Components HOT 1
- Cannot install because there is not .vsix file HOT 1
- Retrieve Metadata from package not finishing after 3.8.7 (Update for 3.9.0) HOT 23
- 'Get current overall code coverage' does not update coverage stats in ForceCode UI. HOT 4
- Can not run test HOT 8
- Running the contributed command:'ForceCode.showMenu' failed. HOT 2
- Switching Orgs and saving files results in "Insufficient access rights on cross-reference id" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forcecode.