Giter Club home page Giter Club logo

Comments (4)

1024jp avatar 1024jp commented on May 18, 2024 1

実装自体は簡単なのですぐできた(未コミット)。

ただ、どうせならもう少し拡張してスクリプトメニューとは別管理の「スニペット」機能を新たに付けた方がいいのではないかとか、でもそうするとCotEditorにはすでに「テキストキーバインディング」という似た機能があるから棲み分けが難しいかも、など悩み中。

一番美しい実装は、

  1. スニペット機能を付ける(ひとまずは単純なテキスト挿入)
  2. スニペットはキーバインディングでも呼び出し可能とし、既存のテキストキーバインディングはそちらに移行する

なのかもしれない。となると今度は作業が大掛かりになってしまうが。

from coteditor.

1024jp avatar 1024jp commented on May 18, 2024

便利そうなので実装したい。検討してみる。

from coteditor.

1024jp avatar 1024jp commented on May 18, 2024

やるならちゃんと実装したので、v1.5 のマイルストーンは外します。

ただし、やるとしても v1.7 以降になると思います。

from coteditor.

1024jp avatar 1024jp commented on May 18, 2024

ずっとこのイシューは開けっぱなしにしていましたが、やはりこれをスクリプトとして実装するのは悪手だと思うので、クローズします。
スニペット自体はいつの日か改良したい気持ち(全然手をつけられていないですが。

from coteditor.

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.