Comments (14)
@RDMStreet @luckyray-fan
Ver. 2.0.0 released.
I modified VSCode Counter's ability to collecting VSCode language extensions so that it can be called as an independent function. The idea is to collect the information once in the local environment and store it so that it can be used remotely.
Please try the following;
- First, launch VSCode on your local.
- Then, open the command palette and select
VSCodeCounter: Save the collected language configurations
. - Then settings.json will store the configuration information collected from the current language extensions .
- Connect to the remote (after updating the remote's VSCodecounter) and use it as usual.
from vscode-counter.
As I mentioned elsewhere, I have found that VSCodeCounter does not work properly with "VSCode Remote Development".
VSCodeCounter can also count for unknown languages by referring to information in your installed language extensions.
However, this information is not available in "Remote Development".
We are currently working through a trial and error process to find a solution.
Please wait for a while.
from vscode-counter.
You can see a detailed log of this extension in the developer tools.
Help> Toggle Developer Tools
Please tell me what was output.
from vscode-counter.
I replaced the file API used with one provided by vscode.
Ver.1.3.2. Perhaps this does not help?
from vscode-counter.
from vscode-counter.
Could you try the following:
- Open the command palette and select
VSCodeCounter: Check available languages
. - Check "VSCode Counter: Ignore Unsupported File" in the settings and count again.
from vscode-counter.
from vscode-counter.
Looks like the TypeScript language extension is missing.
If found, you should see something like:
It seems to be because Remote-SSH is used, but I do not know the exact cause.
Usually it should be installed from the beginning.
I'm not sure because I've never used Remote-SSH, but have you noticed anything from this story?
from vscode-counter.
Oh, i have the same issue, in remote-ssh.
file cannot be found except EditorConfig and json (my project is base on react and typescript)
from vscode-counter.
from vscode-counter.
I still have problems with this.
from vscode-counter.
I found a problem that it only works for my home folder /home/XXX.
In fact, I use the /data/XXX folder more frequently, is there any solutions?
from vscode-counter.
@plus5170
I'm sorry. I'm not sure what's going on.
My English is not very good, so it would be helpful if you could explain it to me.
- Is that what happened with Remote-SSH?
- Is "/home/" the Unix filesystem's home directory?
- What kind of files are in "/data/"?
- What kind of output do you expect to get when you run
VSCodeCounter: Count lines in workspace
with this settingVSCode Counter: Ignore Unsupported File
enabled? - What kind of output do I get when I run a
VSCodeCounter: Check available languages
with the setting enabled?
Translated with www.DeepL.com/Translator (free version)
from vscode-counter.
@plus5170
I'm sorry. I'm not sure what's going on.
My English is not very good, so it would be helpful if you could explain it to me.
- Is that what happened with Remote-SSH?
- Is "/home/" the Unix filesystem's home directory?
- What kind of files are in "/data/"?
- What kind of output do you expect to get when you run
VSCodeCounter: Count lines in workspace
with this settingVSCode Counter: Ignore Unsupported File
enabled?- What kind of output do I get when I run a
VSCodeCounter: Check available languages
with the setting enabled?Translated with www.DeepL.com/Translator (free version)
I'm sorry I wasn't clear.
I use Remote-SSH to open folders on my linux sever and "/home/w5yl" is my remote home folder. I have some codes in my home folder, but most of my code is in "/data/w5yl".
The problem is the command VSCodeCounter: Count lines in workspace
only worked on "/home/w5yl" but didn't work on "/data/w5yl".
Then I found that the count failed because there were too many files in the "/data/w5yl" directory. After setting the VSCodeCounter: Include
option, I got the count results. It turns out the new version of the extension works well with Remote-SSH.
Thanks for your reply!! Useful extension!
from vscode-counter.
Related Issues (20)
- Path is rendered incorrectly HOT 1
- How to block Comments? HOT 4
- Open VSX?
- Support storing collected language elsewhere HOT 5
- Error Loading Webview HOT 1
- Count the files in the top-level as a separate item HOT 2
- Counts documentation comments as code in Julia HOT 1
- New lines in string
- Not exclude dirs HOT 1
- How do I convert to Chinese HOT 1
- Bug : blockComments character in a line of code falsifies the counts HOT 1
- BUG: Unable to correctly count the number of comment lines in the .vue file HOT 2
- Doesn't appear to work when used in a tunnel HOT 2
- Doesn't recognize javascript HOT 1
- Support for `ifdef Compiler Directives HOT 2
- Does not count comments in batch HOT 1
- It seems does not work with remote ssh in ubuntu22.04? Just show there was no target file. HOT 2
- Trailing newline ('\n') character in source code is treated as an extra blank line HOT 6
- 1
- Maximum call stack exceeded when counting very large repo HOT 3
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 vscode-counter.