Pages: 1
  Print  
Author Topic: some proposal  (Read 1963 times)
Offline (Unknown gender) mac12
Posted on: August 07, 2014, 01:33:49 PM
Member
Joined: Aug 2014
Posts: 5

View Profile
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
Offline (Unknown gender) Darkstar2
Reply #1 Posted on: August 07, 2014, 03:10:07 PM
Member
Joined: Jan 2014
Posts: 1244

View Profile Email
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.

Quote
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 :D

Quote
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 :D 
Logged
Offline (Male) edsquare
Reply #2 Posted on: August 07, 2014, 04:10:00 PM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
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. 

Quote
Quote
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 :D

I vote for this too.  (Y)

Quote
Quote
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 :D

Just like many IDE's do allow to do that, perfect for the visually impaired (like me)  :D
Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Offline (Unknown gender) TheExDeus
Reply #3 Posted on: August 07, 2014, 04:17:34 PM

Developer
Joined: Apr 2008
Posts: 1872

View Profile
Quote
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 :D 
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
Offline (Unknown gender) Darkstar2
Reply #4 Posted on: August 07, 2014, 06:01:14 PM
Member
Joined: Jan 2014
Posts: 1244

View Profile Email
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 :D

Indeed that would be practical if you have lots of code.

Quote
I vote for this too.  (Y)

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.

Quote
Just like many IDE's do allow to do that, perfect for the visually impaired (like me)  :D

Would be appreciated when working in 1920x1080
or 4k resolutoins lol !



Logged
Offline (Male) Josh @ Dreamland
Reply #5 Posted on: August 07, 2014, 09:15:13 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
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
Offline (Male) edsquare
Reply #6 Posted on: August 08, 2014, 01:00:07 AM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
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
Offline (Unknown gender) mac12
Reply #7 Posted on: August 08, 2014, 04:53:45 AM
Member
Joined: Aug 2014
Posts: 5

View Profile
then we would have to add the ability to "move the room" using the mouse wheel (but I think we've already thought of that and will be implemented in the future).

Regarding the forum, it would be nice to have the spoiler (click and you are shown the text enclose it in, a bit like the first proposal), and the search function even those who are not registered.

PS
I saw that in the preferences you set the language, how can I add Italian?
Logged
Offline (Male) Josh @ Dreamland
Reply #8 Posted on: August 08, 2014, 07:47:43 AM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
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
Offline (Unknown gender) mac12
Reply #9 Posted on: August 08, 2014, 08:39:10 AM
Member
Joined: Aug 2014
Posts: 5

View Profile
in the preferences of enigma I only see English, french, turkish and danish, however, I see that the wiki is also available in Italian, maybe write some voice :)
Logged
Pages: 1
  Print