shriprem / FWDataViz

Fixed Width Data Visualizer plugin for Notepad++. Turns Notepad++ into Excel for fixed-width data files. Displays cursor position data. Jumps to specific fields. Folding Record Blocks. Extracts Data. Builtin dialogs to configure file-type, record-type & fields; Themes & Colors; and Folding. Handles homogenous, mixed & multi-line records.
GNU General Public License v2.0
37 stars 6 forks source link

Desire for a Variable Width Data Viz. #52

Closed JazzfanRS closed 2 years ago

JazzfanRS commented 2 years ago

Would it be possible to create a variable width data visualizer? I am new to GitHub, and to this plugin. I'm not a coder, but I think being able to specify characters present in every line as the column boundaries. (Example: A tab, a comma, etc) instead of fixed width would be quite useful as NPP does not seem to like to align text to visual columns.

Apologies if this isn't a correct place to post this 'Idea' and for not seeing if this had already been suggested.

shriprem commented 2 years ago

Have you tried the CSV Lint plugin?

I think in addition to the comma separator, it also supports tab, semi-colon, pipe and some basic fixed width.

But beware: Notepad++ may crash if you open a CSV file with the CSV Lint plugin installed and then try to activate (i.e., display) the FWDataViz plugin side panel. There might be other incompatibilities too. Unfortunately, you cannot have both plugins active at the same time.

JazzfanRS commented 2 years ago

Okay thanks.

JazzfanRS commented 2 years ago

I barely know how to use regex. I don't code. I am learning how to use this plugin, and as you suggested CSV Lint plugin.

shriprem commented 2 years ago

There are programmers who know regex. And those who don't. In general, those who know regex are the sharper programmers.

When I have refactored legacy code, many times I have replaced over 25 lines with just a single line utilizing regex. So, learning regex is definitely worthwhile.

If you do a web search for regex helper sites, you will find plenty of excellent choices. If you are looking for Windows-based tools, Jan Goyvaerts is your man. Besides PowerGREP, RegexBuddy & RegexMagic, all his other offerings have a solid support for regex. He has authored a few excellent books on regex as well.