Giter VIP home page Giter VIP logo

Comments (6)

steelbrain avatar steelbrain commented on September 18, 2024

We could have a notification but the IDE that this package was inspired from (PhpStorm) doesn't have do this. Can you please recommend a place to show this type of message?

from intentions.

 avatar commented on September 18, 2024

It's a bit of a visual hint to the user. For example, suppose I have the following code:

public function test()
{

}

... where there is only an intent on the name of the method. If the user presses alt-enter on any other part of the code, no intentions will show up (which is of course, intended behavior). Showing the message here gives a form of "satisfaction" to the user that what he is trying to do did indeed do something (the intentions were requested) as opposed to "Did it do nothing at all, does the shortcut not work or are there simply no intentions available in this context?".

from intentions.

steelbrain avatar steelbrain commented on September 18, 2024

Another thing I could think of is that we could keep the spinner of busy-signal spinning while the providers are doing their thing and stop it once it's done. Spinner moving and then stopping but no list popping up would mean that there's no intentions at that particular location.

We could show a notification but it would be too noisy

from intentions.

 avatar commented on September 18, 2024

That would also be a good idea. I agree that too much noise is best avoided. As such, atom notifications are absolutely overkill. It would be possible to show it inside the intentions menu itself (as if it were some sort of intention), but then care should be taken that it doesn't hog the cursor or it can become a nuisance there as well.

Another idea would be to have some other kind of indication, such as the cursor shaking or a quickly fading out message of some kind, but that is probably a little too much ;-).

from intentions.

steelbrain avatar steelbrain commented on September 18, 2024

Great, I'll be implementing busy-signal and will see how it goes

from intentions.

steelbrain avatar steelbrain commented on September 18, 2024

Hey sorry for lack of update but busy-signal is done and published, I'll be integrating it into this package soon

from intentions.

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.