mac12
|
|
Posted on: August 07, 2014, 01:33:49 pm |
|
|
Joined: Aug 2014
Posts: 5
|
hello, I have a little 'proposals to improve enigma, I do not know if someone has already proposed (in this case, let me know): 1) be able to "close" the braces, if you have a very long code that can help to make the code more readable, for example: 2) Enter in the code editor the name of the object and its event 3) the possibility as in gm, zoom in and out the written 4) a similar feature as instance order in gms
|
|
|
Logged
|
|
|
|
Darkstar2
|
|
Reply #1 Posted on: August 07, 2014, 03:10:07 pm |
|
|
Joined: Jan 2014
Posts: 1238
|
hello, I have a little 'proposals to improve enigma, I do not know if someone has already proposed (in this case, let me know): 1) be able to "close" the braces, if you have a very long code that can help to make the code more readable, for example:
1. Don't you mean automatic braces like for example in an IDE ? Example, I work in CodeBlocks C++, and whenever I open brace, the close brace is there for me, letting me insert anything I want in between. I like this idea and it should be implemented in LGM IDE. I'm all for it and it should not be difficult to implement. 2) Enter in the code editor the name of the object and its event
This is great for people who don't do any D&D and only code. I would love that as I do only code. But if I'm not mistaken, you can already do that in GMS, not sure if this is fully functional and working in ENIGMA. I know it's covered in the docs but never actually tried it 3) the possibility as in gm, zoom in and out the written
What do you mean by that ? There is no such feature in GM, do you mean inside the code editor ? You can't do that in GM. Though it might help for people who are visually impaired, perhaps ability to select font and text size in code editor
|
|
|
Logged
|
|
|
|
edsquare
|
|
Reply #2 Posted on: August 07, 2014, 04:10:00 pm |
|
|
Location: The throne of ringworld Joined: Apr 2014
Posts: 402
|
hello, I have a little 'proposals to improve enigma, I do not know if someone has already proposed (in this case, let me know): 1) be able to "close" the braces, if you have a very long code that can help to make the code more readable, for example:
1. Don't you mean automatic braces like for example in an IDE ? Example, I work in CodeBlocks C++, and whenever I open brace, the close brace is there for me, letting me insert anything I want in between. I like this idea and it should be implemented in LGM IDE. I'm all for it and it should not be difficult to implement.
By the images he posted I guess he means folding code by clicking on the opening brace so it shuts down until you can't read that part of the code but see only the braces, and by clicking on the same brace again you unfold the code. 2) Enter in the code editor the name of the object and its event
This is great for people who don't do any D&D and only code. I would love that as I do only code. But if I'm not mistaken, you can already do that in GMS, not sure if this is fully functional and working in ENIGMA. I know it's covered in the docs but never actually tried it
I vote for this too. 3) the possibility as in gm, zoom in and out the written
What do you mean by that ? There is no such feature in GM, do you mean inside the code editor ? You can't do that in GM. Though it might help for people who are visually impaired, perhaps ability to select font and text size in code editor
Just like many IDE's do allow to do that, perfect for the visually impaired (like me)
|
|
|
Logged
|
A child of five would understand this. Send someone to fetch a child of five. Groucho Marx
|
|
|
TheExDeus
|
|
Reply #3 Posted on: August 07, 2014, 04:17:34 pm |
|
|
Joined: Apr 2008
Posts: 1860
|
What do you mean by that ? There is no such feature in GM, do you mean inside the code editor ? You can't do that in GM. Though it might help for people who are visually impaired, perhaps ability to select font and text size in code editor In GM you can do that by pressing F7 and F8. I would like if that would be done by pressing Ctrl+Mousewheel like everywhere else. They also have snippets (F2) and some other functionality, but I don't need that. I agree about code folding. Would also like more intelligent analysis, like when you are over spr_something it actually knows that it is a sprite. Or when you type draw_sprite() the first argument would automatically propose sprites as options. But there are some bugs I think need to fixed first. Like sometimes after accidental dragging of code, the undo won't work. It will undo over other valid code instead of the place you actually changed. Then there is the unlimited scroll bug, where you keep scrolling past the end of the code and it won't stop doing that until you press some keyboard keys. I have actually lost code because of these bugs.
|
|
|
Logged
|
|
|
|
Darkstar2
|
|
Reply #4 Posted on: August 07, 2014, 06:01:14 pm |
|
|
Joined: Jan 2014
Posts: 1238
|
By the images he posted I guess he means folding code by clicking on the opening brace so it shuts down until you can't read that part of the code but see only the braces, and by clicking on the same brace again you unfold the code.
Ahhh gotcha now, I missed the - / + giveaway Indeed that would be practical if you have lots of code. I vote for this too.
I agree I would love to be able to do EVERYTHING into one block of code, instead of dragging event icons, sort of like [step of obj_001] (code here) [collision of obj_001] (code here) etc. But I think that can already be done in GMS. Just like many IDE's do allow to do that, perfect for the visually impaired (like me)
Would be appreciated when working in 1920x1080 or 4k resolutoins lol !
|
|
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #5 Posted on: August 07, 2014, 09:15:13 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Code folding was planned, but never implemented. Then there was some scrambling to build a new IDE. Then nothing happened. This is likely to be a much-requested feature, but no one's realy volunteering, at this point.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
edsquare
|
|
Reply #6 Posted on: August 08, 2014, 01:00:07 am |
|
|
Location: The throne of ringworld Joined: Apr 2014
Posts: 402
|
Code folding was planned, but never implemented. Then there was some scrambling to build a new IDE. Then nothing happened. This is likely to be a much-requested feature, but no one's realy volunteering, at this point.
I've got an eclipse plugin source code for code folding in eclipse, where and how should we place it in LGM?
|
|
|
Logged
|
A child of five would understand this. Send someone to fetch a child of five. Groucho Marx
|
|
|
|
Josh @ Dreamland
|
|
Reply #8 Posted on: August 08, 2014, 07:47:43 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
I thought we had an Italian translation. If not, we have detailed instructions on how you can translate it here. I'd definitely make sure we don't have Italian first, though. We have like four other Italian users and I believe all of them had translation enabled automatically....
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
|