Timocop / BasicPawn

BasicPawn - SourcePawn Editor
GNU General Public License v3.0
75 stars 11 forks source link

[Feature Ideas] Some features I think would improve Basic Pawn #3

Closed Keplyx closed 7 years ago

Keplyx commented 7 years ago

I used Basic pawn a bit, and it's very useful! But I found it was lacking some features. Maybe some are already implemented, but I just couldn't find them (in that case, sorry...)

This is good (from Eclipse): selection_007

This has too much contrast: selection_006

I don't want the starting file, and I opened a file twice, how can I close tabs? selection_008

When working with multiple files, having to re-open all files can become annoying.

This is not very clear (current)

char sClassname[64];
GetEntityClassname(entity, sClassname, sizeof(sClassname));
if (StrContains(sClassname, "_projectile") != -1)
return Plugin_Stop;

This is better

char sClassname[64];
GetEntityClassname(entity, sClassname, sizeof(sClassname));
if (StrContains(sClassname, "_projectile") != -1)
          return Plugin_Stop;

This is all the ideas I got for now, hopefully you like them. Keep on the good work!

Timocop commented 7 years ago

Thanks for the feedback!

Let the user change syntax highlighting, add more themes

You can already change the TextEditor theme using the XML syntax file and then import your custom XML syntax file in the settings. For now you can only choose between Normal and Inverted themes for the Windows Forms UI. Probably gonna be changed in the future. grafik

Close opened tabs

Like Notepad++ in the top right corner. grafik

Open files from last instance on startup

I was thinking about adding a StartPage with recent and pinned files like Visual Studios (and pretty much any other IDEs) StartPage.

Keplyx commented 7 years ago

You can already change the TextEditor theme using the XML syntax file

I'm gonna try to make my own syntax file then.

Like Notepad++ in the top right corner.

Well, this is what those buttons are for, I'm used to closing tabs with middle mouse, or having a cross on the tab.

Thanks for the quick answer!

Keplyx commented 7 years ago

Here, I made my own TextEditor theme based on Eclipse Dark theme: selection_009 selection_010 selection_011

You can download it here

Timocop commented 7 years ago

Lookin good! Btw. you still can use the inverted color theme with your imported style. If you imported a custom TextEditor style it wont invert the color of the TextEditor just the other Windows Forms controls. grafik

Also, if you want to publish your custom theme maybe its a good idea to share it on AlliedModders in the BasicPawn thread? Or should i make a "custom styles" folder on master so people can use pull requests to add new styles?

Keplyx commented 7 years ago

Thanks! I think making a folder on master would be a good idea, so people downloading the software would be able to choose their own style (with a preview image).

Timocop commented 7 years ago

Done