Can't believe I never knew this -
MP2 - 13.05.2012
Oh my god. Check this. Take, for example, I post some converted objects in to pawno from convertFFS, they're all unindented. What I used to do was spam
TAB
Left Arrow
Down
and repeat..
for every
single
fucking
line.
I just found out you can highlight a load of lines and press TAB and it indents them all. I'm literally crying.
Re: I'M ACTUALLY CRYING AND WANT TO CUT MY WRISTS -
IceCube! - 13.05.2012
LMFAO, If only you asked bro!, We would have all told you are well kept secret

Thank fullly I learnt this trick back in the early days :P
Re: I'M ACTUALLY CRYING AND WANT TO CUT MY WRISTS -
MP2 - 13.05.2012
I literally can't believe I never knew this. Fucking amazing. The THOUSANDS of lines I've individually indented...
Re: I'M ACTUALLY CRYING AND WANT TO CUT MY WRISTS -
IceCube! - 13.05.2012
+Disease for making my day.
EDIT: I have to spread my disease more before I can give it to you

.
EDIT: I CBF to read the timer but Logitech
Quote:
Originally Posted by Logitech90
pawn Код:
public EPIC(playerid) { SendClientMessage(playerid, red, "FUCK YES! TAB FTW!"); return 1; }
|
Are you goiung to forward that
Re: I'M ACTUALLY CRYING AND WANT TO CUT MY WRISTS -
Face9000 - 13.05.2012
pawn Код:
public EPIC(playerid)
{
SendClientMessage(playerid, red, "FUCK YES! TAB FTW!");
return 1;
}
Re: I'M ACTUALLY CRYING AND WANT TO CUT MY WRISTS -
IceCube! - 13.05.2012
pawn Код:
if(newkeys == KEY_TaB)
{
if(!Retard[playerid]) return 1;
else SendClientMessage(playerid, FAIL, "Enjoy your tabbing!");
return 1;
}
Quote:
Originally Posted by Drebin
And you need to create a topic just for that?
Really..
|
Well quite clearly yes or this thread wouldn't be here.. DUH!
Re: I'M ACTUALLY CRYING AND WANT TO CUT MY WRISTS -
Face9000 - 13.05.2012
pawn Код:
new HasIndented[MAX_PLAYERS];
if(HasIndented[playerid] == 0)
{
SendClientMessage(playerid, red, "ARE YOU FUCKIN KIDDING ME?! LEARN TO INDENT NOOB!!");
Ban(playerid);
}
Re: I'M ACTUALLY CRYING AND WANT TO CUT MY WRISTS -
[P4] - 13.05.2012
Lmao that was like first thing I found out myself in my scripting attempts :P
Re: I'M ACTUALLY CRYING AND WANT TO CUT MY WRISTS -
JaTochNietDan - 13.05.2012
Did you know you can press SHIFT + TAB to indent backwards?
Pasting my other reply here since it might get noticed more and help more people:
More shortcuts for coding:
- HOME - Goes to start of line
- END - Goes to end of line
- SHIFT + HOME - Selects from cursor position to start of line
- SHIFT + END - ^ but to end of line
- SHIFT + CTRL + LEFT/RIGHT ARROWS - Selects words
- SHIFT + UP/DOWN - Selects entire lines
- SHIFT + X - Cut, same as copy but deletes the text and puts it in your clipboard
- SHIFT + A - Selects all text in the element
- CTRL + Z - Undo your last action
- CTRL + Y - Redo your last undone action
- CTRL + F - Find text
- CTRL + H - Usually find & replace, but some editors are different
- CTRL + G - Usually go to specified line by number, some editors are different
Shortcuts that may or may not be unique to Notepad++:
- SHIFT + L - Cuts current line
- SHIFT + D - Duplicates current line and puts it below current line
- CTRL + U - Make your current selection lowercase
- CTRL + SHIFT + U - Make your current selection UPPERCASE
- CTRL + SHIFT + UP/DOWN - Moves current line up or down
That's just a few of the shortcuts I use while coding to get things done faster!
Oh and for further speed, some Windows shortcuts:
WK = Windows Key (between ALT and CTRL)
- WK + E - Opens Windows Explorer
- WK + R - Opens run dialog
- WK + D - Minimizes everything and goes to desktop
- WK + F - Opens computer searching dialog
- WK + T - Scrolls through your taskbar
- WK + TAB - A new version of ALT + TAB, only works on Windows Aero installations
- WK + PAUSE/BREAK - Opens System dialog
- CTRL + SHIFT + ESC - Opens Task Manager
- ALT - Displays any hidden menus on your currently opened window
- SHIFT + RIGHTCLICK - Can sometimes show additional usually hidden context-sensitive options
Some handy standard browser shortcuts too:
- CTRL + W - Closes current TAB, also works in many other areas as default for closing things
- CTRL + T - Opens a new TAB
- SHIFT + CTRL + T - Opens previously closed tabs in order
- CTRL + F - Find text on page
- CTRL + H - View your browser history
Respuesta: I'M ACTUALLY CRYING AND WANT TO CUT MY WRISTS -
admantis - 13.05.2012
I've done the same thing with indenting but to the left.
You do Shift + TAB to indent them backwards. Thanks to this, I'm younger.