This setting can be used to make it complete on tab instead. "By default, auto complete will commit the current completion on enter. That will make autocomplete only happen on tab, not enter.įunnily enough, the description for this option in Settings - Default is: In that file, add the setting: "auto_complete_commit_on_tab": true Yeah, having autocomplete on enter can be annoying. I haven't really poked into customizing Sublime Text behavior, but Zetsubou, do you know how to set it so it would only autofill/autocorrect if I press tab or something like that? I don't know that this is a bug per se, but auto-complete is kicking in more often than I want it to.įor instance, if I type show screen test and hit enter, it will automatically convert "test" into FileTakeScreenshot. If I hit Tab, ST will complete the method for me. If I type "me", ST will match that to Renpy's "menu" statement. When typing a method name, you'll be shown potential matches. If you're in a label, and the line of text you've just written is indented by four spaces, then hitting enter and going to a new line will automatically indent you by four spaces, matching the previous line. Combined with syntax highlighting, it becomes very hard to forget closing quotation marks. For example, if I enter a quotation mark, a second quotation mark will appear immediately after it, and my cursor will be placed right between the two. So the next time I start to type in "Metro", it will realize I'm trying to enter the town's name and give me the option to automatically complete the rest of the word by pressing Tab. If my main character's home town is named "Metropoliblahblah", ST will remember that word after I've typed it once or twice. This is like spellcheck for Android or iOS, but the words are ones you've entered yourself.įor example, if I open chapter_01.rpy, and I write 1000 words, ST will have started to remember certain words that I've typed. making it easy to see if you've forgotten the ending quotation mark, misspelled "scene", and so on. The "scene" keyword in a scene statement will appear red, dialog inside quotation marks will be yellow, etc. I'm unfamiliar with Editra, so I can't really compare the two, but some features people might find handy in ST with Renpy include: So.could you tell me what the advantages of Sublime Text is over Editra? Why would a person want to switch over? Should I switch over? Thanks! It seems like it does whatever I'd need.but now you are telling me about Sublime Text. Now just save the settings file and *bam* Sublime will apply and use that theme from now on.Trooper6 wrote:I have only used Editra for my Ren'py coding needs. Most themes will specify in their documentation what the above snippet will look like, while other themes have the ability to set these options for you via the command pallet so be sure to refer to your themes documenation for specific install instructions Note: the above snippet will be different depending on the theme you install.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |