Showing posts with label Notepad. Show all posts
Showing posts with label Notepad. Show all posts

August 27, 2020

Notepad ++(PlusPlus) Auto increment line numbering or symbol (bullet) to the text content using Column / Multi-Selection Editor

 Hi folks,

I was searching for automatically adding numbers for the content which is distributed in sequential lines

Sample Input

A

B

C

Multi-line Column Select

  • Press and hold Alt keyboard button and drag the mouse cursor from top-bottom (bottom-top) in the same column (say column 1)
  • Keyboard Shortcut: Press and hold Shift + Alt and Click DownArrow/UpArrow until the end of the column

Column / Multi-Selection Editor

  1. Click Edit Menu
  2. Select Column Editor (Alt + C)

Insert Number list

  1. Choose "Number to Insert" section
  2. Enter the values in "Initial Number", "Increased by" and "Repeat"
  3. Check "Leading Zeros", if required

Insert Text

  1. Choose "Text to Insert"
  2. Insert the desired text/symbol

Format Selection

  1. Choose the desired format
  2. Default to "Decimal"

Please find the below image for your reference

Sample Output of auto increment number

1A

2B

3C

Sample Output of prefixing hyphen (-) to list

- A
- B
- C

Hopy this blog gives to explore more of Notepad++ editor. Happy hacking.

Please send your feedback and response to psrdotcom@gmail.com

January 20, 2017

Change EOL (End Of Line) Character from Windows to Unix/Linux for all the files in current working directory

Hi all,

For a single file, you can do the change of EOL using notepad++.
Reference: http://psrdotcom.blogspot.in/2017/01/change-eol-end-of-line-character-from.html

But it would be difficult, if you want to do for multiple files in one go.

I have found a solution to update EOL for all files in the current directory.

Pre-requisite

Make sure that, working directory contains only the files which you want to change EOL.

Note: If not, copy the files to a new directory and change the EOL for all the files in that directory.

Procedure

  1. Download dos2unix utility from sourceforge https://sourceforge.net/projects/dos2unix/
  2. Extract the zip file
  3. Tip: Make sure that the extracted path doesn't contain spaces.
  4. Keep the bin directory available in your PATH environment variables
  5. Download the customized batch file from GIST https://gist.github.com/psrdotcom/d73ff9590c3010253b5b2a886704b26b
  6. Extract if needed, and place the "dos2unixfolder.bat" in the same directory where the "dos2unix" is placed.
  7. Tip: If you place the batch file in the same folder of dos2unix.exe. You no need to add again the patch of batch file in environment PATH.
  8. Navigate to your folder, where you want all the files EOL to be changed
  9. Press "Right Click on Mouse" in empty area
  10. Select "Open Command Prompt Here"
  11. Type the batch file name "dos2unixfolder.bat"
  12. You will able to see the conversion process
  13. Once the conversion is completed, you can check the EOL coversion in notepad++.
  14. If you need to help in checking, refer to http://psrdotcom.blogspot.in/2017/01/change-eol-end-of-line-character-from.html


Please send your comments and feedback to psrdotcom@gmail.com

Change EOL (End Of Line) Character from Windows to Unix/Linux using Notepad++

Hi all,

Today I will explain about updating/converting EOL for a single file from windows format to unix/linux format.

  1. In Windows, the EOL (End-Of-Line) character is \r\n (CR LF) (Carriage Return, Line Feed)
  2. In Unix/Linux, the EOL character is \n (LF) (Line Feed)

Check for EOL

If you open the file in notepad++, you will be able to see the EOL character by following below steps:


  • Type the content and hit enter button on keyboard
  • Choose menu "View -> Show Symbol"
  • Check the "Show End of Line" option

  • Now, you will be able to view "CR LF" special symbols in you file at every line end as show below

Update EOL

To convert the EOL from Windows (CR LF) to Unix (LF), do the following

  • Click on "Edit" menu
  • Choose "EOL Conversion"
  • Select "Unix(LF)"

  • Now, you can check the update EOL character in your file. Example conversion show below

This type of conversion useful, when you are updating file in windows and using the same file in U/Linux environment.

Batch File Update

For all files in one folder, you can follow my blog.
Reference: http://psrdotcom.blogspot.in/2017/01/change-eol-end-of-line-character-from_20.html

Send your comments and feedback to psrdotcom@gmail.com

December 17, 2011

Type in Indian languages in Computer Applications like MS Word, Notepad, Browser etc

Hi all,

I am very happy to share this information. We sometimes feel like typing the content in our native speaking language. Now we can type in our native language by using any one of the following tools.

I personally tried with Google IME and I am impressed on Windows 7 Professional

Google IME Installation:
  1. Download the Google IME from this link http://www.google.com/ime/transliteration/
  2. Select your OS type (32-bit/64-bit)
  3. Click on "Download Google IME"
  4. Install the software and the installation will take sometime.
Note: For more detailed Google IME installation steps, please visit this link

Microsoft Indic Language Input Tool Installation:
  1. Download the tool from this link http://specials.msn.co.in/ilit/Telugu.aspx
  2. You can see two versions of downloads
  3. Web Version -- Browser
  4. Desktop Version -- Computer PC
  5. Download the relevant version for you and install it
Vishal's Pramukh:
Download the different versions of tools for your individual purposes like browser, JavaScript development library, HTML Editor
Download Link: http://www.vishalon.net/Download.aspx



Typing in Desired Language:
  1. Right click on the taskbar -> Select Toolbars -> Select Language Bar
  2. You will find the language bar with currently using language for typing the content. Default: EN (English)
  3. Open the Microsoft Word
  4. We can change the language by selecting the EN from taskbar to Desired Language which are listed.
  5. Type in your language by following the suggestions while typing in English.

If you find any difficulty in typing your native language, please mail to psrdotcom@gmail.com 

References:
http://www.google.com/ime/transliteration/
http://www.google.com/ime/transliteration/help.html
http://specials.msn.co.in/ilit/GettingStarted.aspx?languageName=Telugu&redir=true&postInstall=false
http://www.vishalon.net/Download.aspx

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com