Giter Site home page Giter Site logo

Comments (14)

uctakeoff avatar uctakeoff commented on July 28, 2024 2

@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.

uctakeoff avatar uctakeoff commented on July 28, 2024 1

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.

uctakeoff avatar uctakeoff commented on July 28, 2024

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.

uctakeoff avatar uctakeoff commented on July 28, 2024

I replaced the file API used with one provided by vscode.
Ver.1.3.2. Perhaps this does not help?

from vscode-counter.

Sociopacific avatar Sociopacific commented on July 28, 2024

Screenshot_115

from vscode-counter.

uctakeoff avatar uctakeoff commented on July 28, 2024

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.

Sociopacific avatar Sociopacific commented on July 28, 2024

Screenshot_116
Screenshot_118
Screenshot_117

from vscode-counter.

uctakeoff avatar uctakeoff commented on July 28, 2024

Looks like the TypeScript language extension is missing.
If found, you should see something like:
2020-02-08

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.

luckyray-fan avatar luckyray-fan commented on July 28, 2024

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.

luckyray-fan avatar luckyray-fan commented on July 28, 2024

success, thanks for your work
image

from vscode-counter.

Sociopacific avatar Sociopacific commented on July 28, 2024

I still have problems with this.
image

from vscode-counter.

Yonglin5170 avatar Yonglin5170 commented on July 28, 2024

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.

uctakeoff avatar uctakeoff commented on July 28, 2024

@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 setting VSCode 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.

Yonglin5170 avatar Yonglin5170 commented on July 28, 2024

@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 setting VSCode 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)

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.