๐Ÿ›  ๋„๊ตฌ/๐Ÿ–Š Notepad++

[Notepad++]์›ํ•˜๋Š” ๋‹จ์–ด๊ฐ€ ๋“ค์–ด๊ฐ„ ๊ตฌ์ ˆ ์ถ”์ถœํ•˜๊ธฐ

๋‰ด์ด NUEY 2022. 12. 30. 12:29
๋ฐ˜์‘ํ˜•
<select id="select1" resultType="int" parameterType="String">
...
</select>

<update id="update1" parameterType="String">
...
<update>

<select id="select2" resultType="int" parameterType="String">
...
</select>

<delete id-"delete1" parameterType="String">
...
</delete>

์˜ˆ๋ฅผ ๋“ค์–ด ์ด๋Ÿฐ์‹์˜ select / update/ delete ๋“ฑ์˜ ๋งŽ์€ ๋งคํผ๋‚˜ ํด๋ž˜์Šค์˜ ๋ฉ”์†Œ๋“œ๊ฐ€ ํ•œํŽ˜์ด์ง€์— ์žˆ๋‹ค๊ณ  ์น˜์ž.

์—ฌ๊ธฐ์„œ select ๋ถ€๋ถ„๋งŒ ๊ณ ์ณ์•ผํ•  ์ผ์ด ์ƒ๊ฒจ, select id๋ฅผ ๋ชจ๋‘ ํ™•์ธํ•˜๊ณ  ์‹ถ์„ ๋•Œ ์ฐพ๋Š” ๋ฐฉ๋ฒ•์ด๋‹ค.

 

  1. ctrl + F ๋กœ ๊ฒ€์ƒ‰
  2. Mark ํƒญ ์ด๋™
  3. Bookmark line ์ฒดํฌ๋ฐ•์Šค ์„ ํƒ
  4. <select id=" ์‹์˜ ๋‹จ์–ด๋ฅผ
  5. Mark All ์„ ํด๋ฆญ

๊ทธ๋Ÿผ ํŒŒ๋ž€ ์ ์ด ํ•ด๋‹นํ•˜๋Š” ํ–‰์— ์ƒ๊ธด๋‹ค. (๋ถ๋งˆํฌ๋œ ์ƒํƒœ)

6. ๋ฉ”๋‰ด๋ฐ” Search - Bookmark - Cut Bookmarked Line ์„ ํƒœ์‹œ ๋ถ๋งˆํฌ๋œ ์ค„์ด ์ž˜๋ผ๋‚ด๊ธฐ ๋œ๋‹ค.

7. ์ด ํ›„ ctrl + V ๋ฅผ ๋ˆ„๋ฅด๋ฉด ์›ํ•˜๋Š” ๋ถ€๋ถ„๋งŒ ๋ถ™์—ฌ๋„ฃ๊ธฐํ•ด ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.

๋ฐ˜์‘ํ˜•