Comments (3)
All commands are executed in the context of the current editor. If you need behavior matching the paste shortcut, use the keyboard shortcut.
from intellij-voicecode.
Sorry, just for my understanding, are we closing this because it's too difficult to do (in that case maybe it could remain open as a long-term FR) or because we don't want this behavior?
If we don't want this behavior, could you please elaborate a little about why just so that we're on the same page?
from intellij-voicecode.
I closed it because it seemed like a misunderstanding of the plugin and its role in coordination with your Talon scripts. I'll go ahead and re-open it.
The main purpose of this plugin is to run commands in the current active editor in a way that's keybinding agnostic. The remaining functionality is to either provide feedback to the driving Talon package or to implement commands from VoiceCode which are difficult to do without state. (PSI ranges, selecting forward/back, etc.)
This is why the original Talon contexts for IntelliJ tried to detect popup windows and dialogs so that normal commands are used instead. (Looking at the current knausj repo, all of that functionality seems to have been lost. You can test this by opening a modal and attempting to paste.)
Assuming you did modify this plugin to send commands to non-editor components, you'd also need to plumb that state back into Talon so you can send the correct commands. That is, EditorPaste vs Terminal.Paste.
And after all that, you would have built a paste command that does multiple RPC calls and lookups in order to emulate a subset of the behavior of pressing the original keyboard shortcut.
from intellij-voicecode.
Related Issues (11)
- Editing commands can go to the wrong open project
- New release to fix IntelliJ 2021.2+ (#9) HOT 1
- Error in 2022.1 HOT 1
- Cleanup for deprecated methods in 2018.3 / 0.0.5
- Support for PhpStorm 2022.3.1 HOT 1
- Crash when using code with me
- Feature Request: Voice Code Promoter
- Windows fails to write nonce to a file
- Error in 2021.2 RC
- Error in IntelliJ IDEA 2021.2 (2021.2.1 preview) HOT 1
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 intellij-voicecode.