What format are gdscript quotation marks in?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By thecolorfive

I have used microsoft word to edit script because it has a much better search and replace tool. But when copying it back into godot it does not recognize the quotation marks. Do you know a way to be able to use the better search and replace tool, with it’s wildcards etc that will paste back into godot with the correct quotation marks?

:bust_in_silhouette: Reply From: kidscancode

Microsoft word is probably the worst possible tool to use for editing code. Code is plain text, while Word produces rich text. Code has no font formatting or styling, including the fancy quote marks that Word uses.

I’m not sure what you find wrong with the Godot text editor’s find-and-replace, but if you really can’t use it, then you should use an external editor that is designed and intended for use with source code. Examples:

Visual Studio Code:https://code.visualstudio.com/
Atom: https://atom.io/

I think I really need the wildcard function that is in Word right now, but thanks for the lead on other code text editors, it looks like notepad++ has it

thecolorfive | 2021-01-16 21:26

Yes notepad++ is very good alternative but as kidscancode said Godot text editor’s find-and-replace is really good even making me use searchmonkey less than i usually do

Wakatta | 2021-01-18 04:25

I randomly remembered asking this, and have since realized that visual studio code actually has a better function than Word’s wild card thing, called regular expressions, and they are very useful… especially a few thousand lines of code in and needing to change numerous different length strings to the same thing.
Use regular expressions - Visual Studio (Windows) | Microsoft Learn

thecolorfive | 2021-01-28 19:15