How can I efficiently switch between smart quotes and vertical quotes in Notepad++?

user76275

I'm editing an .hmtl document in Notepad++, and I need to be able to efficiently switch between typing smart quotes ( ‘ ’ “ ” ) and vertical quotes ( ' ' " " ). How can I do this?

I would like to use smart quotes when editing content in the body, such as:

"Lorem ipsum 당근, 향상된 학부 개발자이지만 노동 및 비만과 같은 때때로 시간과 활력을 제공합니다. 수년에 걸쳐, 나는 그녀가 운동의 이점을 알아 차 리도록 노스트 루드 할 것이며, 그렇게되면 학군과 장수 노력을 자극 할 것이다. 큐피 다 타트에서 고통 받고 싶은 마음은 Duis et dolore 마그나에서 비판을 받아 쾌락을 낳지 않는다. Excepteur cupidatat blacks는 예외가 아니므로 서비스가 작동하지 않는 것을 부드럽게합니다. "

HTML 및 CSS를 편집 할 때 다음과 같이 세로 따옴표를 사용하고 싶습니다.

<link rel="stylesheet" href="style.css" type="text/css" media="all" />

Notepad ++는 기본적으로 (?) 세로 따옴표를 사용하므로 추가로 입력 할 필요가 없습니다. 스마트 따옴표를 입력하기 위해 Word 문서에서 Notepad ++로 복사합니다.

Notepad ++에서 편집중인 문서의 언어는 HTML 입니다.

Miroxlav

정확한 답을 찾으려면 방법이 없습니다. Notepad ++에는이 기능이 없습니다. 잘 알려지지 않은 Notepad ++ 플러그인이 있을지 모르지만 실제로는 잘 모르겠습니다.

그러나 이것이 내가 특수 문자에 액세스하는 방법입니다. 다음 AutoHotKey 매크로를 사용하면 표준 키보드 시퀀스를 따옴표 나 기타 문자 또는 시퀀스로 매핑 할 수 있습니다. 기본적으로 한 시퀀스를 다른 시퀀스로 편안하게 교체합니다. 이것은 따옴표 전환을위한 자동 인식이 아니지만, 그런 경우 적어도 새로운 Notepad ++ 플러그인을 작성해야합니다.

따옴표를위한 AutoHotKey 매크로 :

:O:;,::‘
:O:;'::’
:O:;,,::“
:O:;''::”

위의 내용을 기반으로 입력 ;,,(뒤에 공백, 쉼표 또는 줄 바꿈을 입력하여 교체 시작)하면 .

따옴표 생성을 제외한 매크로 예제 :

::;td::<td></td>

위의 예에서는을 <td></td>입력하여 즉시 테이블 셀을 생성 할 수 있습니다 ;td. 따라서 매크로는 따옴표뿐만 아니라 보편적입니다. 시퀀스의 첫 번째 문자로 세미콜론을 사용하고 td있습니다. plain을 입력하면 일반 텍스트를 입력 할 때 원하는 효과가 없기 때문 입니다. 그러나 다른 것을 선택할 수 있습니다 `( : 백틱).

장점 : 정의한 매크로는 이제 모든 응용 프로그램에서 작동 합니다 (제한하지 않는 한).

따라서 형식은

::type-this::replacement
:O:type-this::replacement

을 입력 한 후에는 type-this공백, 쉼표, 줄 바꿈 등을 입력해야합니다. 첫 번째 형식에서는 두 번째로 언급 된 형식으로 보존되며 해당 문자가 사용됩니다.


2017-02 업데이트 :

AHK 매크로가 따옴표 사이를 회전하도록 작성할 수 있다는 것을 깨달았습니다.
예:

"– (다시 시작) → "→ ...

여전히 관심이 있으면 알려주세요.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Why can't I switch to a virtual avfs directory with quotes?

분류에서Dev

How does one generate vertical quotes in Word?

분류에서Dev

How can I switch between open applications?

분류에서Dev

Extract everything between quotes

분류에서Dev

Vim Function: How to get text between double quotes?

분류에서Dev

How can I simplify my "equation" to switch between 3 and 5?

분류에서Dev

How do I replace double quotes with its escape?

분류에서Dev

How do I correctly pass double quotes to an awk subprocess in Python?

분류에서Dev

Match a given sequence only if not between quotes, taking escaped quotes into consideration

분류에서Dev

Quotes within quotes

분류에서Dev

can not understand backslash newline in bash double quotes

분류에서Dev

How do I switch between desktops in Compiz?

분류에서Dev

How do I switch between keyboard layouts?

분류에서Dev

In KDE Plasma, how can I switch between virtual desktops using Meta + Tab?

분류에서Dev

How can I switch between "All" and "Unread" in my Outlook 2013 inbox?

분류에서Dev

How do I print a character variable within quotes using php function

분류에서Dev

How do I keep single quotes intact when returning the output of a Bash subshell to the OSX "defaults" utility?

분류에서Dev

How to add one double-quotes (") to string?

분류에서Dev

How to give variable as command parameter in double quotes?

분류에서Dev

How to disable automatic escaping of quotes - BASH

분류에서Dev

How to use variables inside back-quotes

분류에서Dev

How can I use find command more efficiently?

분류에서Dev

How can I use find command more efficiently?

분류에서Dev

Javascript: Hover over Issues & How can I structure the html efficiently?

분류에서Dev

How can I efficiently recover a permanently deleted folder at once?

분류에서Dev

How can I access semi-sparse data efficiently in java?

분류에서Dev

How can I hide the line numbers in Notepad++?

분류에서Dev

How can I show vertical indentations markers with Emacs?

분류에서Dev

Can't update SQL database with quotes using PHP

Related 관련 기사

  1. 1

    Why can't I switch to a virtual avfs directory with quotes?

  2. 2

    How does one generate vertical quotes in Word?

  3. 3

    How can I switch between open applications?

  4. 4

    Extract everything between quotes

  5. 5

    Vim Function: How to get text between double quotes?

  6. 6

    How can I simplify my "equation" to switch between 3 and 5?

  7. 7

    How do I replace double quotes with its escape?

  8. 8

    How do I correctly pass double quotes to an awk subprocess in Python?

  9. 9

    Match a given sequence only if not between quotes, taking escaped quotes into consideration

  10. 10

    Quotes within quotes

  11. 11

    can not understand backslash newline in bash double quotes

  12. 12

    How do I switch between desktops in Compiz?

  13. 13

    How do I switch between keyboard layouts?

  14. 14

    In KDE Plasma, how can I switch between virtual desktops using Meta + Tab?

  15. 15

    How can I switch between "All" and "Unread" in my Outlook 2013 inbox?

  16. 16

    How do I print a character variable within quotes using php function

  17. 17

    How do I keep single quotes intact when returning the output of a Bash subshell to the OSX "defaults" utility?

  18. 18

    How to add one double-quotes (") to string?

  19. 19

    How to give variable as command parameter in double quotes?

  20. 20

    How to disable automatic escaping of quotes - BASH

  21. 21

    How to use variables inside back-quotes

  22. 22

    How can I use find command more efficiently?

  23. 23

    How can I use find command more efficiently?

  24. 24

    Javascript: Hover over Issues & How can I structure the html efficiently?

  25. 25

    How can I efficiently recover a permanently deleted folder at once?

  26. 26

    How can I access semi-sparse data efficiently in java?

  27. 27

    How can I hide the line numbers in Notepad++?

  28. 28

    How can I show vertical indentations markers with Emacs?

  29. 29

    Can't update SQL database with quotes using PHP

뜨겁다태그

보관