Comments (6)
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.
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.
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.
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.
Great, I'll be implementing busy-signal and will see how it goes
from intentions.
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)
- Can't trigger intentions list HOT 9
- Sorry. HOT 2
- Hold the special key to show intentions can consume all the CPU
- intentions:show triggers error HOT 4
- 1.1.3 breaks contextual intentions HOT 2
- Keyboard interaction captured after selecting option HOT 1
- intentions highlights render outside of current editor pane HOT 3
- greenkeeper badge on README.md HOT 2
- Intentions disables double clicking
- The tests are failing in new Atom
- atom-ide-base disables intentions automatically HOT 3
- Using intentions as the code actions package? HOT 8
- Unifying the key bindings on different operating systems
- Unexpected token . HOT 3
- Intentions are not highlighted in TypeScript files
- Keybinding on macOS doesn't trigger HOT 2
- Atom and Intentions version issue Installing/Uninstalling - Ubuntu 18.04 HOT 1
- Failed to load the intentions package HOT 13
- Uncaught TypeError: Illegal invocation
- Scrolling doesn't work
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 intentions.