Created with AHK-Studio
Check out the Wiki for more info
maestrith / ahk-studio Goto Github PK
View Code? Open in Web Editor NEWCreated with AHK Studio
Home Page: http://www.maestrith.com
Created with AHK Studio
Home Page: http://www.maestrith.com
Created with AHK-Studio
Check out the Wiki for more info
There's a bug when dragging a file onto AHKStudio. The file drag'n'dropped onto AHKStudio is not opened (I would expect a file dropped onto editor to be opened immediately and be the active file)
How to reproduce:
=> file2 occurs in project explorer - but file1 is still the opened file
Would be nice to have same bookmark support as most other editors have
In a second step elaborated bookmark features would be nice:
Within the Menu Editor you can rearrange the menu items. You can also introduce submenus within your menus
Unless my submenu is placed as the first menu item within the menu editor it is displayed as last item within AKHKStudio menus ...
Respect the ordering of the menu items from Menu Editor when displaying the menus in AHKStudio
With multiple files open, the code explorer places the labels, functions, classes, etc. from all of the open files under every file in the explorer. In other words, every root item (file) in the code explorer has the same children, containing all matched items.
When "#Include" is typed (inserted from call tip), a file selection dialog is displayed to allow choosing a file whose path is inserted...
Although this is a nice feature, it can sometimes be intrusive and annoying, and it would be nice if there was an option like Disable #Include File Select Dialog that would disable the feature.
To analyze the used hotkeys (to see which keys are unused or which keys are used duplicated) you have to look into the settings.xml file and do a manual evaluation.
Introduce a feature to display a sorted list of all used hotkeys (including the commands they are associated with).
Ideally this would be part of OmniSearch.
I've gor a groject containing 5 files with 5 classes - within the code explorer only 3 of the 5 classes are detected. The missing classes don't look different from the detected glasses.
See image
Have the F5 refresh just do everything that has to do with indexing and refreshing anything to do in the program which will allow you to get rid of 6 menu items and possibly more that I didn't see. This will help de-clutter the menu. This is what I have so far...
<menu name="Refresh" clean="Refresh" tv="1556029">
<menu name="Index Current File" clean="Index_Current_File" hotkey="F5" index="10"></menu>
<menu name="Refresh Code Explorer" clean="Refresh_Code_Explorer" no="1"></menu>
<menu clean="Refresh_Variable_List" name="Refresh Variable List" no="1"></menu>
<menu clean="Index_Lib_Files" name="Index Lib Files" index="23"></menu>
<menu name="Refresh Current Project" clean="Refresh_Current_Project" index="24"></menu>
<menu name="Refresh Project Explorer" clean="Refresh_Project_Explorer" index="25"</menu>
</menu>
Alt+M > Theme
Changing the Caret Line Background, which I expected to only change the Current Line Background color, changes the text color of the main text
I was able to get it working by just resetting the theme and the caret line background seemed to stay changed, but it took 3 iterations to get it to play nice
AHK-Studio should have a visible version somewhere within the GUI - therefore users would be able to refer to this version information when reporting bugs, feature requests ....
I've searched at the "obvious" places within the GUI to find some version info (Titlebar, Statusbar, About Box, Help Box) - but wasn't able to find some info about the currently used version.
Additional hint for github usage: if you use versions, give your corresponding github commit a version tag (for example: v0.10.1) - this results in github's release mecanism (see: https://help.github.com/articles/about-releases)
As OmniSearch uses prefixes to search for different entities (functions, classes, commands ...) it's difficult to remember which prefix is used for which entity.
Introduce a prefix ?
into OmniSearch - when ?
is entered in OmniSearch list all supported prefixes and their purpose in OmniSearch
I keep getting this error when I run AHK-Studio.exe, both with the git version and with the one linked to in the ahkscript.org discussion thread: "Unregistered window class: specifically Scintilla." (Somebody in the thread mentioned that putting SciLexer.dll in the folder fixed this, but it's not working for me.)
To locate commands within the Menu Editor there is a drop-down Editbox, where text can be entered and be jumped to the found command
It's quite difficult to find a certain command here if you don't know its exact name
This would it make way easier to find certain commands ...
® symbols become ? marks when you New File > and save
If you have a large project you jump around your files a lot (for example to look up the parameters of a function you want to call). Going back to the point in sourcecode from where you started exploring has to be done manually.This is annoying (as I mostly cannot remember my starting point ... ;-))
Implementation of a "Navigation stack". This would allow "Forward" and "Backward" movement on the "Navigation stack" via commands/toolbar buttons (like "Forward"/"Backward" in Web-Browsers)
I cannot insert an [
within the editor - OmniSearch is opened instead ...
[
within the editor[
on the input line - rather than inserting the [
into the editorSome additional functions concerning code-folding might be helpful.
In Edit_Comment_Insert() there are 2 issues:
settings.add2("comment","",insert)
doesn't seem to write the settings correctly to the settings file. This change makes it work correctly:Old:
insert:=RegExReplace(insert," ","%a_space%")
settings.add2("comment",,insert)
Modified:
settings.add({path:"comment", text:RegExReplace(insert,"","%a_space%")})
m(settings.ssn("//comment").text)
should be remove/commented.Great updates, BTW! I really like the new object auto-completion feature!
Most commands and settings can be accessed via menus, hotkeys or toolbar items. As there are many commands its quite difficult to remember the hotkey or the location of a command within the menus.
Therefore I suggest a new method to find commands and execute them. The idea is taken from Notepad++
This would it make way easier to find certain commands ...
if you have ® symbols, or other special symbols I'm sure, and use the "RemoveSpacesFromAroundCommas" function then it replaces the symbols with garbled text
Changing options via the Settings menu is not working
Alt+M > Settings
Click the "Options" button
For me, changing options like "Word Wrap" in this pop up does not take effect
However using Alt+M > Word Wrap will work.
When editing/setting a hotkey in Menu Editor the Menu Editor does not refresh to display the newly set hotkey
Assign new hotkey via Menu Editor - the new hotkey is not shown in Menu Editor until the Menu Editor is closed and reopened again
Dialogbox Edit Hotkey does not have Apply - Cancel - Abort Buttons. I personally feel always a litte uncomfortable if they are missing. I always think by myself: when will the changes be applied? Does pressing Return apply the changes? What will happen if I press the Close Button? Will the changes be applied or rejected? This questions came in my mind in conjunction with the error reported above: I changed hotkey via Edit hotkey and closed the box. The new hotkey was not displayed ... I thought: Did I something wrong?
Trying to run latest version from source, there is a missing include file (not available in git):
#Include update github info.ahk
Within the "Code Explorer" the labels of the currently opened source file are displayed.
There is a bug in parsing the labels from sourcecode:
Strings with label syntax are NO labels if they are within comment blocks.
Example:
/*
Syntax: blahblahblah
*/
==> Syntax: is not a label!
Most editors I know do have a visual highlighting of the current line (i.e. where the cursor is on) - see Example
This allows much more easier identification of the current line. Would be nice to have it in AHKStudio as well
You fixed the issue with Compile_AHK.exe for saving comments inside the script....thanks for that!
There seems to be a new issue though when compiling a script. When I compile a script with Compile_AHK.exe it seems to compile okay and then once compiling is done it jumps to the very top of the script. I pretty much lose the line that I am working on.
Wondering if AHKS knows that the file was edited so it moves to the edited line....is there an option for this?
The changes in 1.0.64 badly broke Code Explorer and Omni Search.
Also, in Edit_Comment_Insert, should change the default InputBox value to RegExReplace(format, "%a_space%", " ")
so that the %a_space% string doesn't show up in the input field.
If you edit a file there will be an asterisk in CodeExplorer in front of filename, indicating the file was edited but not saved yet.
Saving the file, the asterisk disappears
If the file is part of several projects, the asterisk occurs on all identical files in all projects. But saving the file, only one asterisk is removed, while it remains on other projects ...
File Mouse.ahk is part of two projects: XX.ahk and EDE.ahk ... Watch the video:
When using the save as and then saving the script the save as popup window will pop up again.
Currently the toolbars are restricted in several ways:
Suggestion: Remove/loosen these restrictions
It would be a nice gimmick to have (user definable) icons for menu items. This would give an optical guidance while searching for menu items.
I'm curious if you have updated documentation on the current plugin SDK for studio?
I have multiple plugins that I had written some time ago using the style shown below, but they haven't seemed to work for a while now. Any help would be appreciated.
Example old plugin (used to work):
addmenu("Enhanced Comment Line Toggle", A_ScriptFullPath)
hotkeys([1], {"NumpadSub": "EnhancedLineToggle"})
Enhanced_Comment_Line_Toggle()
{
EnhancedLineToggle:
sc := x.csc()
sc.2078
pi:=posinfo(), sl:=sc.2166(pi.start), el:=sc.2166(pi.end), end:=pi.end
single := sl = el ? 1 : 0
while, (sl <= el) {
letter := sc.textrange(min := sc.2128(sl), min+3)
if (min > end && !single)
break
if (Trim(sc.textrange(min, sc.2136(sl))) = "") {
sl++
end--
Continue
}
else if (letter = ";~ ") { ; Remove SciTE4AutoHotkey style comment
sc.2190(min)
sc.2192(min+3)
sc.2194(0, "")
end--
}
else if (SubStr(letter, 1, 1) = ";") { ; Remove a standard comment
sc.2190(min)
sc.2192(min+1)
sc.2194(0, "")
end--
}
else { ; Insert a comment symbol
sc.2190(min)
sc.2192(min)
sc.2194(3, ";~ ")
end++
}
sl++
}
sc.2079
return
}
On large projects I frequent have to update multiple files to accomplish a single task. Often when I am doing this I notice something that needs to be changed. After finishing the new thing a few minutes later, I forgot the main task I was trying to undertake.
What I've taken to doing is having notepad open and letting it serve as my Task Pad. This way I can write down what I'm trying to do, and when I inevitably find some code that needs tweaking I can write that down in the Task Pad and either do it later or immediately. When done in another window, it starts to get lost among all the other windows I have open. Regardless, I am able to keep track of my tasks much better and be more efficient.
It needn't be a big text area. I was thinking it would go nicely at the bottom left or right of the screen and have the same width as the Explorer windows.
Starting from AutoHotkey 1.1.16.01 Properties are supported (http://ahkscript.org/docs/Objects.htm#Custom_Classes_property)
Show properties within code explorer and offer Omni-Searching for properties
File 'about.ahk' should be changed with a variable to reflect latest version instead of manually writing the version number for each changes.
Something like:
Gui,Show,,AHK Studio Help Version: %version%
Since Edit Replacements was changed to allow for multi-line & tab character input, it is no longer necessary to convert "_`n_" strings found in the replacement to newlines.
Suggest that the replacement be inserted as literal text to allow the string "_`n_" to be used in replacement values.
You left in a debugging message box at Line 74 of the main AHK Studio.ahk file. Just an FYI =)
`,
escaped commas
if the comma is escaped don't remove the space after it
If I click something in the code explorer it browses to it in my script. If I click on something else in the code explorer while it is browsing to the previous item it only goes to the previous item and then if I continue to click on the second item it does nothing. Perhaps make that thread critical so it finishes searching before starting the second click
Currently the project management is supporting only a very restricted variant of Autohotkeys include
mechanism:
Only File-Includes with one level subdirectory depth are supported:
#Include SubDir
#Include File.ahk
Would be nice if some more Include Variants would be supported, as not all Include files do live in a single subdirectories (only one level down):
#Include SubDir1
#Include SubDir2
#Include File1.ahk ; Path: SubDir1/SubDir2/File1.ahk
or
#Include SubDir1/SubDir2/File1.ahk ; Path: SubDir1/SubDir2/File1.ahk
or
#Include SubDir1
#Include SubDir2/File1.ahk ; Path: SubDir1/SubDir2/File1.ahk
or
#Include SubDir1/SubDir2
#Include File1.ahk ; Path: SubDir1/SubDir2/File1.ahk
or even
#Include <Class>
AHKStudio should support for project detection all variants of Includes that AutoHotkey itself supports
I often copy blocks of text for use in many other places. Once pasted, I frequently have to customize it just a bit before I move on to the next place where I need to use the copied text. When customizing, I have to be mindful to NOT copy/paste any of the tweak text or else I lose my clipboard data. Sometimes I forget or just have to put something new on the clipboard.
Would it be possible to have a clipboard history window that showed the first line of text from each clipboard entry, truncated so that there is no text wrapping? So each line would be the text from a different clipboard entry. Then, hopefully, all someone would have to do is click on the clipboard history line they want to load it back into their clipboard?
Again, it needn't be a big area, just the size of the Explorer area would suffice.
Sorry, I hope I'm not being annoying. I'm just putting my thoughts out there for you to reject if you see fit. Or, I guess I could try delving into your code and seeing if I could make the change, but I'd appreciate a pointer in the correct direction, of course!
Is there an option to highlight the currently active line? (Not select everything on the line, just a background highlight so you know where your typing caret is)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.