Jump to content

Recommended Posts

Posted

ability to comment/uncomment a selected group of lines in the script editor.

 

I'm pretty sure i'm not the only one that often comment/uncomment lines when testing.

 

This feature competes in the category "less than 5 minutes to add :rolleyes: )

Windows 7 home - 32 bits

Intel Quad Q6600 - nVidia GTX 460 1GB - 2 GB RAM

Posted

It's done like this in Lua:

test
--[[
test
test
test
]]--
test

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

It's done like this in Lua:

test
--[[
test
test
test
]]--
test

 

I doubt he means this :rolleyes:

 

I more believe he means a 2 menu items (toolbox and contextmenu) where you can comment/uncomment a bunch of code with just one click. Take a look at Visual Studio where this feature is embedded. (Blide has it as well, also most other IDEs).

  • Windows 10 Pro 64-Bit-Version
  • NVIDIA Geforce 1080 TI
Posted

It's done like this in Lua:

test
--[[
test
test
test
]]--
test

I know ;)

well maybe it's just me, but I get used to do it in just one click in other editors.

 

it's just a loop on selected lines, if there's no -- at the beginning of the line you add it, if the -- is already there you remove it.

 

it may sound superfluous at first glance, but if you add 100 such little features you'll get a friendly editor.

 

EDIT: Klepto just explained it wery well. Thanks

Windows 7 home - 32 bits

Intel Quad Q6600 - nVidia GTX 460 1GB - 2 GB RAM

Posted

it's just a loop on selected lines, if there's no -- at the beginning of the line you add it, if the -- is already there you remove it.

 

You might want to add the comment no matter what because in a chunk of code you are trying to comment out there might already be comments and when you uncomment the chunk you wouldn't want to uncomment the original comments.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...