Team Spartan Cookies & Milk Forums
New Editor - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: New Editor (/thread-260.html)

Pages: 1 2 3


RE: New Editor - Person8880 - 22-03-2014

(22-03-2014, 12:01 PM)Veegi Wrote:
Quote:What is the shortcut doing? There's no Ctrl + 0 shortcut, but there is an Alt + 0 which folds all foldable sections. Is that it?
Yes, that. It's a bit annoying that I have to copy and paste the } if I want to use it...
I removed it from the editor, so you don't have to do that anymore.


RE: New Editor - Blackhawk - 22-03-2014

I've got an idea how to solve the OS X problem with the code editor.
What about adding a special shortcut for OS X users which acts like the delete key?


RE: New Editor - Cobra - 24-03-2014

After heavialy working a few hours with the new editor, here are some suggestions / feature requests from my side:
  • The sharing feature is nice, but it needs some more features to be of use:
    • The permission system seems to work so far, but everytime I hit "Upload package" for my new framework (Alteran Framework) I am developing, all the files loose their permission and I have to set every file to "public access" seperatly, which can be quite annoying if you have a lot of files.
    • A feature where you can define permissions per folder would be nice
    • Should be able to define a whitelist of users that can also write to some defined files.
    • Also the "Download Package" seems to be a bit buggy. Josh could not download my framework (try it by doing "Download package" on the file "testFramework.txt" in my share folder)
  • When I am selecting text by holding the left mouse button and move the mouse outside of the editor and release the button there, the editor does not register the "Mouse_Up" event, which causes strange selection issues.
  • I had a case where the "Upload package" command always errored with "One or more included files could not be found" or something. It took me around 30 minutes to figure out that this is because I was building some require calls dynamically
    Alteran.FrameworkRoot = "Alteran/"
    require(Alteran.FrameworkRoot.."ui/ui.txt")
    A better error message would be nice here Wink

That should be enough for now Tongue


RE: New Editor - Person8880 - 24-03-2014

(24-03-2014, 08:25 AM)Cobra Wrote:
  • The permission system seems to work so far, but everytime I hit "Upload package" for my new framework (Alteran Framework) I am developing, all the files loose their permission and I have to set every file to "public access" seperatly, which can be quite annoying if you have a lot of files.
I can change that. Partly because originally it was going to ask you for permissions before you uploaded and I never removed the permission setting from the upload code after ditching the idea.

(24-03-2014, 08:25 AM)Cobra Wrote:
  • A feature where you can define permissions per folder would be nice
  • Should be able to define a whitelist of users that can also write to some defined files.
These are possible, but will need some more UI work (which takes time).

(24-03-2014, 08:25 AM)Cobra Wrote:
  • Also the "Download Package" seems to be a bit buggy. Josh could not download my framework (try it by doing "Download package" on the file "testFramework.txt" in my share folder)
I'm fairly confident it's not a bug. Probably one or more includes did not have their permissions set to allow him to download it. Edit: Nevermind, I see why. It was not creating folders for the files it downloaded, should be fixed on next load.

(24-03-2014, 08:25 AM)Cobra Wrote:
  • When I am selecting text by holding the left mouse button and move the mouse outside of the editor and release the button there, the editor does not register the "Mouse_Up" event, which causes strange selection issues.
This is not fixable. It is a problem with the HTML UI element in GMod not behaving like every other element and ignoring being told to always receive mouse events. A bit annoying, but as long as you keep the mouse inside the HTML panel it won't happen. I've sort of managed to work around it for selection, but I can't do anything about the scrollbar.

(24-03-2014, 08:25 AM)Cobra Wrote:
  • I had a case where the "Upload package" command always errored with "One or more included files could not be found" or something. It took me around 30 minutes to figure out that this is because I was building some require calls dynamically
    Alteran.FrameworkRoot = "Alteran/"
    require(Alteran.FrameworkRoot.."ui/ui.txt")
    A better error message would be nice here Wink
This is not the problem. It does not use require calls, it looks at the --@include directives only. I will see about making it tell you which file it failed for.


RE: New Editor - Person8880 - 25-10-2014

I've given the editor a nice visual overhaul (see the first post for what it now looks like).

Also, there's a fair few new features that you may not have noticed if you haven't looked at the server changelog:
  • The Starfall docs now opens in the editor as a tab.
  • You can now perform a search through all the files in your Starfall folder. Press Ctrl + Shift + F or click the folder search button at the top left.
  • You can set the editor to show/hide whitespace in files.
  • You can fold/unfold all with a single button click.
  • The command bar has received many improvements:
    • All commands with results can have the result selected entirely using the keyboard, press up/down and enter to select a result.
    • It can now find functions defined in the variable style, i.e local Blah = function() end. Use @<functionname> to search the current file for them.
    • It now has a set of commands which allow you to perform actions using entirely the keyboard. Type !<commandname>, it'll auto-complete them for you.
    • It can now perform a quick find in the current file, use #<searchstring>, press enter to go to the next result.



RE: New Editor - pho - 05-07-2016

hey person can you change shortcuts ?
Shift + Tab doesent works (remove lines and open steam overlay) i use it to un-indent


RE: New Editor - Person8880 - 05-07-2016

There's no way to change shortcuts for it at the moment I'm afraid.