LoginSignup
3
3

More than 5 years have passed since last update.

JSファイルで複数行文字列書くときのヘルパーを作った

Last updated at Posted at 2015-02-18

ss.gif

複数行選択してconvertコマンドを実行すると一行ずつシングルクォーテーションで囲んで、末尾に改行があれば+を追加する。

逆に、この形式の文字列を選択してdeconvertコマンドを実行するとシングルクォーテーションと+を削除する。

パッケージ初めて作ってみたけど形式がわかるとそんな苦労せず作れたしpublishも簡単でした。

参考

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3