Coder Social home page Coder Social logo

Comments (4)

LuqueDaniel avatar LuqueDaniel commented on May 23, 2024 3

@JelleInfinity I was just typing my reply and your last comment popped up 😂 . You have said almost everything I was going to comment on.

I agree with the way to implement it, a counter in the status bar and make it a feature that can be disabled through settings (there will be users who don't want to have more labels in the status bar).

I think it could be useful. If someone wants to implement it, go ahead. But first I would like to merge the PR #76 .

from vscode-language-renpy.

duckdoom4 avatar duckdoom4 commented on May 23, 2024 1

Ah I see, so what you're saying is you would like to know specifically, the dialog word count?

I can see a use for that, if we make a tiny status bar field like the Ln x, Col x and Spaces: x.
I think that could be a nice feature.
You could even make it a button to change view into other types of counts I suppose.

@LuqueDaniel What do you think?

FYI: If you do start working on this, let me know if you come across any issues using the tokenizer. Currently the tokens are placed in a one D array (sorted by start index), but I was thinking it might be better to group the tokens in a node graph. That would be a lot easier when trying to figure out what token goes where.

from vscode-language-renpy.

duckdoom4 avatar duckdoom4 commented on May 23, 2024

In the new-syntax branch I build a tokenizer that can be used to count tokens, so should be very easy to implement a word counter there.

I do wonder what would be the purpose of this and if this would be something others could benefit from.

If me or @LuqueDaniel see a good purpose, we would be more then happy to accept your suggestion. Thanks for the interest in helping us improve the plugin.

from vscode-language-renpy.

pjpollina avatar pjpollina commented on May 23, 2024

I tend to write out a lotta my scenes right into Ren'Py, and since I use quite a few one-off ATL animations combined with large amounts of 2-4 arg layeredimage names it's hard to get an accurate word count on a per-script basis with existing tools. I figured maybe others had this problem but maybe I just do things weird.

Edit: Example of what I mean, for one of my scenes the word count for just dialog is 695, whereas when you check the word count on the script with all the additional coding you get 2240.

from vscode-language-renpy.

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.