Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestAHK: In case of error offer to open in code editor or CodeQuickTester #63

Open
2 tasks
ewerybody opened this issue Jan 30, 2022 · 1 comment
Open
2 tasks

Comments

@ewerybody
Copy link
Owner

@Cyberkabauter suggested in a2#250:
In addition of the “Error at line 2. Line Text: TestAHK: “Error: This line does not contain a recognized action. The program will exit.” Error message it would be helpful to open an inputbox which let me correct the code. Or even better, to open the “quick code tester” from from geek dude.

@Cyberklabauter: where is that quick code tester” from geek dude? Ah already found it :D https://github.com/G33kDude/CodeQuickTester nice 👍

hmm we cannot have it in that message. We can:

  • catch the message box and replace it or
  • put in a menu.

What do you think?

@Cyberklabauter
Copy link

Cyberklabauter commented Jan 30, 2022

  1. Let user decide: Have an Option in the module "On Error: Open code in Editor"

  2. If "On Error: Open code in Editor" is checked than ...

I would prefer to bypass the message box completly

  1. launch the CodeQuickTester (or any other editor, but CodeQuickTester comes close to the idea of TestAHK)
  2. Insert the AHK code
  3. and run it automatically in the editor to see the errormessage again

Alternative and maybe less afford to realize:

  1. Show messagebox button 1 = "Close"; button 2 "Correct code"
  2. On button 2 launch launch the CodeQuickTester
  3. Insert the AHK code
  4. Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants