Code Monkey home page Code Monkey logo

Comments (8)

krasa avatar krasa commented on June 5, 2024

When nothing is selected, it uses the whole line.
Imho detecting what should be selected in various situations would be too hard.

from stringmanipulation.

krasa avatar krasa commented on June 5, 2024

maybe we could just reuse ctrl+w feature for it, but then why not just click once or twice on ctrl+w and then use the plugin action?

from stringmanipulation.

BorzdeG avatar BorzdeG commented on June 5, 2024

Is it possible to somehow attached to Expressions similar to the action of the "Extract Variable"?

from stringmanipulation.

krasa avatar krasa commented on June 5, 2024

yeah, I could select any identifier (variable, field, method,...) or string literal (that thing between "...") under a caret in java files.

from stringmanipulation.

BorzdeG avatar BorzdeG commented on June 5, 2024

Perhaps we are talking about different things. I'm talking about is: https://habrastorage.org/files/001/229/b81/001229b8161c4f7eb76b1f4d0a981a71.png

from stringmanipulation.

krasa avatar krasa commented on June 5, 2024

Oh yeah this, probably doable, but it seems unnecessary, if you are on a identifier or on a string, then it does not make sense to convert anything more than that.

from stringmanipulation.

krasa avatar krasa commented on June 5, 2024

I implemented smarter selections for java, properties files, and some generic support.
You can try it here: https://github.com/krasa/StringManipulation/releases/

from stringmanipulation.

krasa avatar krasa commented on June 5, 2024

it was just released.

from stringmanipulation.

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.