For any feature requests to either the Skyline Engine or the websites and forums please leave your suggestion here.

Code comment/uncomment in script editor

Code comment/uncomment in script editor

Postby howler » 08 May 2014, 13:24

Can we have a button and key combination to comment/uncomment multiple (highlighted) lines of code in the script editor please?
User avatar
howler
Skyline Ensen
 
Posts: 110
Joined: 10 Apr 2014, 23:50
Location: Sydney, Australia

Re: Code comment/uncomment in script editor

Postby SolarPortal » 09 May 2014, 09:04

Will Add it to the Feature List :D
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Code comment/uncomment in script editor

Postby howler » 18 May 2014, 13:03

I'd like to suggest this was available via
(a) A button on the editor
(b) A key sequence
and
(c) An option on the right mouse button context menu
User avatar
howler
Skyline Ensen
 
Posts: 110
Joined: 10 Apr 2014, 23:50
Location: Sydney, Australia

Re: Code comment/uncomment in script editor

Postby SolarPortal » 18 May 2014, 15:34

sounds good :D
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Code comment/uncomment in script editor

Postby howler » 20 Jul 2014, 13:27

It would be handy to be able to highlight a section of text and have a right click menu item to either comment or uncomment that whole block.
Ideally you'd have different menu items to select between it putting individual comment characters "--" on every line, and wrapping the selected lines in comment block start/end characters.
Additionally you'd have an uncomment option which would automatically uncomment every commented line in the selected lines of code, or remove the block comment characters if the first selected line contained "--[[" and the last line contained "--]]"
User avatar
howler
Skyline Ensen
 
Posts: 110
Joined: 10 Apr 2014, 23:50
Location: Sydney, Australia

Re: Code comment/uncomment in script editor

Postby SolarPortal » 20 Jul 2014, 13:41

good ideas :D
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 22 guests