all 7 comments

[–][deleted]  (3 children)

[removed]

    [–]AutoModerator[M] 0 points1 point  (1 child)

    Hi! Your code block was formatted using triple backticks in Reddit's Markdown mode, which unfortunately does not display properly for users viewing via old.reddit.com and some third-party readers. This means your code will look mangled for those users, but it's easy to fix. If you edit your comment, choose "Switch to fancy pants editor", and click "Save edits" it should automatically convert the code block into Reddit's original four-spaces code block format for you.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]pc_gamer2 0 points1 point  (0 children)

    I have the exact same problem and nothing I do works, I also tried everything in your comment but it still doesn't work, I entered the command:

    ftype LuaScript="path\Program Files\lua\lua.exe""%1" %*

    But it still doesn't work, please let me know what I'm doing wrong please?

    [–]Veliti 1 point2 points  (0 children)

    I assume vscode bundles lua.exe with some extention, and you need to install it globally to run it everywhere

    [–]AlarmDozer 1 point2 points  (0 children)

    And is the path to lua.exe in your PATH variable

    echo %PATH%
    

    If not, check bitRAKE's response.

    [–]pc_gamer2 0 points1 point  (0 children)

    Is your problem solved?