Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table Name in File Tab and Drop Table Button #14

Open
birdwing opened this issue Jun 20, 2018 · 2 comments
Open

Table Name in File Tab and Drop Table Button #14

birdwing opened this issue Jun 20, 2018 · 2 comments

Comments

@birdwing
Copy link

Would it be possible that in the file tab on notepad++ to display an icon when the file has been read into a database (and possibly show the table name). I know this might be problematic for those of use that run update and delete functions against the table, because then the file and the table are no longer the same, perhaps an icon to indicate that as well?


After working with a lot of different files I noticed that the number of tables keeps going up.
There is no easy way to remove a table from the database after you no longer need it.

I'm not suggesting the table automatically be dropped when the file is closed, I recognize there is a use case for having them stay.

Maybe add a button to drop the files associated table from the SQLite database? Right now you have to list the files, then find the table that corresponds to the file you want and drop it manually.

@jokedst
Copy link
Owner

jokedst commented Jun 21, 2018

Hmm good point. There is an obvious memory leak here.

Perhaps a submenu below / instead of "list parsed files" that shows all parsed files, the table name and if the file itself is closed, which allows you to remote it (or all files) from the DB.

Modifying the N++ tab itself I'd have to research

@birdwing
Copy link
Author

I've never worked with N++ plugins so I don't know about modifying the tab.
A sub-menu might work.
Perhaps you could add another window pane along with the CSV Query one like "CSV Tables" that lists all the relative information.

Or maybe adding tabs to the CSV Query pane one for "SQL" and another for "Tables"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants