[英]Continue Ruby comment on Enter in Visual Studio Code
在 Visual Studio 代碼中為 Ruby 代碼編寫注釋(例如#
后的簡單文本)時,按Enter
鍵不會自動在下一行繼續注釋。
例子:
# This is a comment I am writing. Now I hit 'Enter'.
I end up on this line without automatic `#` sign added.
是否有標准方法讓評論自動繼續? 與使用TSDoc 格式時的 Typescript 模式一樣。
注意:我已經在使用Ruby 、 Rubocop 、 Solargraph 、 Yard documenter 、 Better comments和Rewrap擴展。 Rewrap 是最近的,因為它會自動移動到下一行。 但仍然不是最好的幾段評論。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.