 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Would having a standard/recommended editor for AutoHotkey interest you? |
| I don't do enough scripting to justify the use of a customized editor. |
|
0% |
[ 0 ] |
| I write scripts frequently but prefer an extremely simple editor such as Notepad or Metapad. |
|
2% |
[ 2 ] |
| It would have to have some compelling benefits to get me to switch from the editor I use now. |
|
13% |
[ 9 ] |
| If a customized editor became standard/recommended, there's at least a 40% chance I'd use it. |
|
4% |
[ 3 ] |
| If a customized editor became standard/recommended, there's at least an 80% chance I'd use it. |
|
51% |
[ 35 ] |
| I already use an editor customized for AutoHotkey that has all the features I'm likely to want. |
|
27% |
[ 19 ] |
| Other |
|
0% |
[ 0 ] |
|
| Total Votes : 68 |
|
| Author |
Message |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10692
|
Posted: Mon Aug 22, 2005 2:44 pm Post subject: Establishing a standard/recommended editor for AutoHotkey |
|
|
Edit: This topic was formerly part of the topic Complex syntax?. It seemed best to make it a new topic because it's probably of high interest to anyone considering a better editor for AutoHotkey scripting.
| AHKnow wrote: | | I think AHK needs to "clean up" on its user tools and make those more "user friendly" and "sophisticated". What, in my opinion, AutoHotKey needs is its own Editor (AHKEditor and AHKStudio are coming long, but still have far to go), a better AU3Recorder (well its own TRUE AHKrecorder w/ Control Clicks...), etc. | I appreciate these suggestions because of their candor and also because of your experience with so many automation tools and programming languages (from your detailed reviews on the web, it's clear you've tried just about everything and weighed their pro's and con's).
Concerning an AHK Editor, many users prefer to stick to their chosen editor -- such as PSPad, TextPad, or even the really basic Metapad -- because of the time they've invested in learning it or just because they like the feel of it. Even so, I realize that there is high demand for a custom AHK editor that has built-in IntelliSense, syntax coloring, context sensitive help, and shortcuts such as "Run Script" (PSPad probably comes the closest while still being free). Rather than reinventing the wheel, I think the approach taken by Jos van der Zande for AutoIt is better: customize an existing editor that already has a great core set of features and a proven history of reliability, namely SciTE/Scintilla (there may be others that would qualify).
The main obstacle is the sheer amount of time involved. It is my impression that customizations of SciTE have a much steeper learning curve than doing the same things in something like PSPad (but as a reward, SciTE offers more power and flexibility). Assuming the benefits seem worthwhile, it would be ideal to have a volunteer to do the customized version of SciTE, preferably someone with SciTE experience. If anyone is interested, Jos van der Zande's SciTE4AutoIt3 might provide some good ideas.
Alternatively, PSPad could be examined in greater detail to find out which AHK customizations it's missing, and whether it's possible to add them. If there is enough interest, perhaps a preconfigured version of PSPad can be offered as a new download (assuming permission can be acquired).
Last edited by Chris on Tue Aug 23, 2005 2:05 pm; edited 10 times in total |
|
| Back to top |
|
 |
AHKnow
Joined: 03 Jul 2004 Posts: 119
|
Posted: Tue Aug 23, 2005 7:34 am Post subject: |
|
|
Forgive me Chris, but I would have to disagree a bit about using SciTE.
1. I have used SciTe and a lot of the functionality of SciTe4AutoIt3, is the shortcut key linking to other AutoIt scripts like AU3recorder, AutoMacroGenerator, GuiBuilder, etc... as well as AU3 the syntax files. f1 = help, f2 = GuiBuilder, etc...
The fact that it links all these different users tools to the editor is what makes it great, more than using SciTe with LUA.
AutoHotKey users can use easier to configure editors like Crimson Editor or "homemade" editors like AHKEditor and AHK Studio and get the same effect.
2. The other element of SciTe4AutoIt3 is integration with help. Rajat's IntelliSense, Syntax highlighting, AHK's help, etc... can all be added to those editors.
3. Another advantage is that you could be using AHK script to make and to configure the editor as oppose to using LUA or whatever.
4. AHK Studio's code is available to everybody (thanks to Titan) which means anybody can contribute.
With SciTe, it looks like the AutoIt user JdeB is the one that mostly maintains it. JdeB is kind of like an alternative version of Rajat, where one user has contributed at a huge level. If I'm not mistaken, I think he was already a knowledgable LUA user too.
It would be hard to ask an individual AHK user to take on such a huge project. Yeah, it will get easier once you have something functional and after a while, but using something "homegrown" appears that it would be easier and people can add little bits to it.
It might really be worth it to continue to work on AHK Editor, AHK Studio, etc... until they have the functionality of SciTe4AutoIt3.
5. I think another reason why various "hardcore" AutoIt users went with SciTe was because they were also programming in other languages/scripting languages and were using SciTe for more than one language.
Like you, I agree that SciTe will create a problem for making configuration changes to it. It may be better to go with Crimson Editor or another freeware editor so that you are able to use it for other programming languages and AutoHotkey at the same time.
But, once an AHK editor (or studio) was more developed, than perhaps it could be configured to handle syntax and help files from another language. Another approach may to configure an AHK editor to use the configuration files from free and existing and easy to configure editors like Crimson Editor too.
6. Lastly, the fact that AutoHotkey does not come with a FREE editor with the POWER of SciTe is one of the main things that puts it an a disadvantage. A more advanced AHK editor/studio would go along way in making it easy for new AutoHotkey users. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10692
|
Posted: Tue Aug 23, 2005 1:06 pm Post subject: |
|
|
| AHKnow wrote: | | The fact that it links all these different users tools to the editor is what makes it great, more than using SciTe with LUA. | Good point. I've never used SciTE in any form, but was under the impression that it facilitates Intellisense for AutoIt, as well as things like code-folding and highly custom syntax coloring. It is also my impression that editors like Crimson and PSPad are less powerful and flexible in these areas.
| Quote: | 4. AHK Studio's code is available to everybody (thanks to Titan) which means anybody can contribute.
It might really be worth it to continue to work on AHK Editor, AHK Studio, etc... until they have the functionality of SciTe4AutoIt3. | Although I won't discourage this line of development, I don't have high hopes for it becoming the preferred editor. This is because creating something with the core features of Crimson or PSPad from scratch seems daunting -- perhaps more so than customizing SciTE. Even if a RichEdit control became available in AHK, it might prove inadequate or overly complicated to make it do the things Crimson and PSPad do effortlessly.
| Quote: | It would be hard to ask an individual AHK user to take on such a huge project.
...
5. I think another reason why various "hardcore" AutoIt users went with SciTe was because they were also programming in other languages/scripting languages and were using SciTe for more than one language. | Thanks; I think this helps bring me back to reality a little. I suspect SciTE, while extremely powerful, is more oriented to hardcore programmers than something like Crimson or PSPad. Therefore, while I do hope that an AHK configuration becomes available for SciTE someday, I'll put most of my "recommended editor" hopes behind PSPad or Crimson (I don't use either one personally yet).
In case anyone doesn't know, PSPad can already be given many AutoHotkey features such as syntax highlighting and a clip library. The script to enable these is in the Extras folder distributed with AutoHotkey. This is thanks to the efforts of Scott Greenberg, Beardboy, and possibly others.
I'm hoping someone will provide a configuration for Crimson Editor someday since other than PSPad, it's one of the few free editors that's both powerful and easy to learn.
| Quote: | | 6. Lastly, the fact that AutoHotkey does not come with a FREE editor with the POWER of SciTe is one of the main things that puts it an a disadvantage. | Although I don't expect to ever bundle an editor directly with AutoHotkey (mostly due to the increase in download time), I am interested in providing a new download of something like PSPad or Crimson that is customized for AutoHotkey out of the box.
If anyone has an interest in any area of this topic, please vote in the poll and post your thoughts here. |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Tue Aug 23, 2005 1:50 pm Post subject: |
|
|
I voted "Other" since there was no option for:
"I'm not interessted since I use a powerful editor already"
I use UltraEdit since I edit different type of files. And UltraEdit with UltraComapre has everything I need (of cause also a lot I'll most probably never use).
- support and conversion from to UNIX/Windows format
- Powerful search and replace
- syntaxhighlighting (I need minimum of 2)
- column edit mode
- tabs for files
- comparing two text files
- list of function/subroutines for quick navigation
Thus I suggest to create extra tools for an existing freeware editor (that is already powerful) to add the needed rest of functionality. I assume that the tools can be so well designed, the user will not recognize them as an add-on.
But as I said, I personally will propably not switch. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10692
|
Posted: Tue Aug 23, 2005 2:00 pm Post subject: |
|
|
Thanks for those comments. I know how attached we all get to our favorite software; and an editor is about as personal as you can get.
| Quote: | I voted "Other" since there was no option for:
"I'm not interessted since I use a powerful editor already" |
I clarified one of the poll choices -- which is probably what you would have selected -- to: "It would have to have some compelling benefits to get me to switch from the editor I use now." |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Tue Aug 23, 2005 2:03 pm Post subject: |
|
|
| Chris wrote: | | I clarified one of the poll choices -- which is probably what you would have selected -- to: "It would have to have some compelling benefits to get me to switch from the editor I use now." | yeah, that is probably the best describtion. But I do not see my vote in the statistic. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10692
|
Posted: Tue Aug 23, 2005 2:06 pm Post subject: |
|
|
| I just added a new category and revised the poll to get your vote into the new category. |
|
| Back to top |
|
 |
AHKnow
Joined: 03 Jul 2004 Posts: 119
|
|
| Back to top |
|
 |
DocSavage
Joined: 11 Jan 2007 Posts: 1
|
Posted: Mon Feb 26, 2007 2:11 pm Post subject: Emerald Editor |
|
|
I am just getting my feet wet with a little programing. I am using AutoHotkey to get started. For a year or so I have used Crimson Editor to augment some Dreamweaver work. I went to Crimson looking for AHK plug-in & discovered they are aligned with an editor-under-development, Emerald Editor. Maybe you guys can work together to provide Newbies with an editor that integrates well with AHK.
http://www.emeraldeditor.com/
dk |
|
| Back to top |
|
 |
John B.
Joined: 21 Oct 2006 Posts: 21
|
Posted: Mon Feb 26, 2007 3:23 pm Post subject: |
|
|
From what I can tell, none of the free editors handle regular expressions in search/replace very well.
* sigh*
Maybe this Emerald Editor will do better. Apparently multi-line search and replace is very difficult to implement. So I voted for "compelling reason" because TextPad has such great regexp support that I can't see switching to another editor (even though it hasn't been updated in years). But I do a lot more text processing than I do script writing...
More on topic, do you think that a custom editor would be of more benefit to the newbie, or the mid-level/advanced scrip writer? While I thought the "development environment" available for AutoIt was interesting, I would not have bothered to download and install it because of having to learn a new editor.
Thanks,
John B. |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 2991 Location: Minnesota
|
Posted: Mon Feb 26, 2007 6:25 pm Post subject: |
|
|
AutoHotkey is not a complex language. Development environments are useful for large-scale projects where it's necessary to be able to quickly search and browse header files, classes, and the like, but I think the overload of features they provide isn't worth it for a scripting language. Even for scripts of several hundred lines, I prefer simplicity.
I'm not really sure what to say for newbies, though... it could be helpful to have certain integrated features like running and reloading a script, but how many would they find useful, and how many would just add to the confusion? It would be a delicate balance. |
|
| Back to top |
|
 |
Thalon
Joined: 12 Jul 2005 Posts: 643
|
Posted: Wed Feb 28, 2007 11:04 am Post subject: |
|
|
I mostly use PSPad, because it can complete every word written in the file (I use it most time for descriptive variable-names). Btw: Which other editors do have this?
It has also project-management I use first time since a couple of days.
Thalon _________________ AHK-Icon-Changer
AHK-IRC
deutsches Forum |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6719 Location: France (near Paris)
|
Posted: Wed Feb 28, 2007 3:06 pm Post subject: |
|
|
| Thalon wrote: | | I mostly use PSPad, because it can complete every word written in the file (I use it most time for descriptive variable-names). Btw: Which other editors do have this? | SciTE...
I wouldn't take it as is as a base for an AHK "IDE", as it is too complex for a newbie, but editors made upon Scintilla are, IMHO, the best... (I am biased...)
So hacking Notepad++ or Notepad2 could be a solution, I suppose. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
ahklerner
Joined: 26 Jun 2006 Posts: 1231 Location: USA
|
Posted: Wed Feb 28, 2007 9:02 pm Post subject: |
|
|
| Quote: | | IMHO, the best... (I am biased...) |
I am not biased...And I agree... |
|
| Back to top |
|
 |
Micahs
Joined: 01 Dec 2006 Posts: 388
|
Posted: Fri Apr 13, 2007 9:48 am Post subject: |
|
|
I agree. Scintilla-based in general and SciTE in particular.
SciTE is portable, lightweight and flexible. I agree also that it may be a little much for beginners, but according to the license to SciTE it is possible for someone to distribute a "branded" version configured specifically as needed.
| Quote: | | Permission to use, copy, modify, and distribute this software and its documentation for any purpose |
Here is my portaSciTE setup:
1. It uses PhiLho's lexer
2. AHK compile/run/help already set up (followed PhiLho's instructions)
3. AHK is the default language
4. SciTElauncher modifies autohotkeydir setting in ahk.properties for current drive letter and allows help, autocomplete, compile and run from usb drive
5. SciTElauncher maximizes SciTE after loading it
This allows beginners to just start - without configuring SciTE! If they want to learn to make custom config changes, they can. If not, it works as is.
I have it set up like this:
| Code: | USB drive root
+-----AHK
+-----SciTE
+-----AutoHotKey
------SciTElauncher.exe
|
This is a standard SciTE v1.71 just set up for AHK. Autohotkey is not included in the rar.
Download
(If you download this, please scan it with your antivirus software before opening it, just in case.)
Here's PhiLho's SciLexer thread and SciTE home if you want to put it together yourself. _________________
 |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|