Comments (4)
実装自体は簡単なのですぐできた(未コミット)。
ただ、どうせならもう少し拡張してスクリプトメニューとは別管理の「スニペット」機能を新たに付けた方がいいのではないかとか、でもそうするとCotEditorにはすでに「テキストキーバインディング」という似た機能があるから棲み分けが難しいかも、など悩み中。
一番美しい実装は、
- スニペット機能を付ける(ひとまずは単純なテキスト挿入)
- スニペットはキーバインディングでも呼び出し可能とし、既存のテキストキーバインディングはそちらに移行する
なのかもしれない。となると今度は作業が大掛かりになってしまうが。
from coteditor.
便利そうなので実装したい。検討してみる。
from coteditor.
やるならちゃんと実装したので、v1.5 のマイルストーンは外します。
ただし、やるとしても v1.7 以降になると思います。
from coteditor.
ずっとこのイシューは開けっぱなしにしていましたが、やはりこれをスクリプトとして実装するのは悪手だと思うので、クローズします。
スニペット自体はいつの日か改良したい気持ち(全然手をつけられていないですが。
from coteditor.
Related Issues (20)
- Snippets shortcuts aren't working anymore HOT 5
- Probably a bug with document icons HOT 1
- Support for illegal syntax in custom syntax HOT 1
- Display if file is edited on tabs HOT 1
- Highlight the line that has been changed. HOT 1
- When a new row is selected, the old selected state does not disappear. HOT 1
- アプリケーション終了時の動作について HOT 4
- Incorrectly displayed characters HOT 3
- Custom made format fails since last update HOT 6
- 文字入力中にクラッシュする Crashes while typing HOT 4
- syntax covering full words, not only 'starting with' HOT 5
- Javascript .yml has innterHeight and innterHTML HOT 1
- default automatic-substitution settings for the kind "general" conflict with some markup languages HOT 3
- Import this format yaml config not working. HOT 1
- Open files unexpected slowly HOT 1
- Fonts in Version 4.8.1 (644) HOT 4
- Show open editors in the sidebar HOT 1
- General mode is unexpectedly activated for editing shell script file HOT 3
- Current active "Mode" should be shown in user interface HOT 3
- How to disable smart quotes? HOT 5
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 coteditor.