티스토리 뷰
728x90
Tools > Developer > New Plugin...
import sublime
import sublime_plugin
class ReverseCommand(sublime_plugin.TextCommand):
def run(self, edit):
for region in self.view.sel():
stringContents = self.view.substr(region)
self.view.replace(edit, region, stringContents[::-1])
View > Show Console
view.run_command("reverse")
https://stackoverflow.com/questions/28966185/reverse-all-line-of-text-in-sublime-text
Reverse all line of text in Sublime Text
I have a file where I have multiple lines. Is there an option in Sublime Text 3 to reverse whole line ? Like ABCDEFG to GFEDCBA
stackoverflow.com
728x90
'공부 (@Deprecated) > 툴' 카테고리의 다른 글
| Redis-Commander (0) | 2021.01.21 |
|---|---|
| [Confluence] wiki shortcuts (0) | 2021.01.21 |
| [IntelliJ] auto indexing (0) | 2020.11.20 |
| [VSCode] change case (0) | 2020.11.20 |
| [IntelliJ] How to Change Read-Only Status of Files in intellij (0) | 2020.06.26 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 테슬라 레퍼럴
- wlw
- 테슬라 리퍼럴 코드 생성
- 유투브
- COUNT
- 연애학개론
- 어떻게 능력을 보여줄 것인가?
- 김달
- 인스타그램
- 책그림
- 레퍼럴
- 메디파크 내과 전문의 의학박사 김영수
- Kluge
- 테슬라 리퍼럴 코드 혜택
- 모델 Y 레퍼럴
- 할인
- Bot
- 테슬라 레퍼럴 적용 확인
- 테슬라 레퍼럴 코드 확인
- 팔로워 수 세기
- 테슬라 추천
- 테슬라
- 모델y
- 테슬라 크레딧 사용
- follower
- 개리마커스
- 클루지
- 테슬라 리퍼럴 코드
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
글 보관함