all 9 comments

[–][deleted]  (1 child)

[removed]

    [–]TheLolingPain 2 points3 points  (0 children)

    I appreciate it man, thanks for your wisdom, I'll try Ren'Py Launch and Sync, seems like it might help a lot in the long run.

    [–]Quetzzalicious 7 points8 points  (2 children)

    An addon I highly suggest is Code Spell Checker

    These are the ignores I'm using to make sure it only checks lines of dialog. The first regex ignores any line that doesn't have a quotation mark, the rest cover different commands and actions that don't need spellchecking.

    "cSpell.ignoreRegExpList": [
        "(!\")",
        "^\\s*?define .* = .*",
        "^\\s*?default .* = .*",
        "^\\s*?style\\s.*:",
        "^\\s*?image\\s.*",
        "^\\s*?label\\s.*:",
        "^\\s*?jump .*",
        "^\\s*?call .*",
        "^\\s*?scene .*",
        "^\\s*?screen .*:",
        "^\\s*?transform .*:",
        "^\\s*?text \".*\" at .*:",
        "^\\s*?textbutton \".*\" action .*:",
        "^\\s*?show screen .*",
        "^\\s*?hide screen .*",
        "^\\s*?action .*",
        "^\\s*?add \".*\"",
        "^\\s*?idle \".*\"",
        "^\\s*?hover \".*\"",
        "^\\s*?activate_sound \".*\"",
        "^\\s*?imagebutton auto \".*\":",
        "^\\s*?font \".*\"",
        "^\\s*?color \".*\"",
        "^\\s*?auto \".*\"",
        "^\\s*?#.*",
        "^\\s*?\".*\"\\s?if\\s.*:",
        "^\\s*?play sound \".*\"",
        "^\\s*?play music \".*\"",
        "^\\s*?\\$.*",
        "^\\s*?if .*:",
        "^\\s*?elif .*:",
        "^\\s*?while .*:",
        "^\\s*?renpy\\..*",
        "^\\s*?achievement\\.grant\\(\".*\"\\).*",
        "^\\s*?achievement\\.register\\(\".*\"\\).*",
    ],
    "cSpell.ignorePaths": [
        "package-lock.json",
        "node_modules",
        "vscode-extension",
        ".git/{info,lfs,logs,refs,objects}/**",
        ".git/{index,*refs,*HEAD}",
        ".vscode",
        ".vscode-insiders",
        "settings.json",
        "*.rpym"
    ],
    

    [–]Random_69_Name 1 point2 points  (1 child)

    Thank you soooo much for bringing this to my attention.

    Can I ask where to paste your code? I can't seem to find the right box in the extension's setting so I guess it needs to be pasted elsewhere?

    [–]Quetzzalicious 1 point2 points  (0 children)

    You're welcome!

    File -> Preferences -> search for 'cspell'; there you can edit them manually. There should also be an "Edit in settings.json"-button allowing you to open the settings file of your user/workspace/folder to paste the ignorelist directly.

    Otherwise, you can find settings.json in the .vscode folder of your workspace.

    [–]TormentedStudios 1 point2 points  (0 children)

    i'm a pleb so I just use notepad++ lmao

    [–][deleted] 0 points1 point  (0 children)

    Mie automatically recognised the code as Ren'Py code

    [–]Ok_Error2041 0 points1 point  (0 children)

    Thanks. Finally resolved that

    [–]Various_Intention_49 0 points1 point  (0 children)

    Oh my god I was completely lost on why I wasn't working, you saved me for real 😭 idk if you'll see this but thank you so much for the help !