I just started using Ren'py and find it odd that tab characters are not supported. Using tab spaces is widely used in many programming languages. Can you guys add this feature? I never imagined I'd be requesting something like this. Kind of funny actually.
I'm using notepad++ and it automatically places a tab on a new line, after pressing enter even if the line before had four spaces instead of a tab.
Can you support tabs in code?
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Can you support tabs in code?
Set notepad++ to python and it'll use four spaces instead.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: Can you support tabs in code?
Notepad++ has already set the language to Python under the language tab, yet it still does a tab instead of an indent. I have the latest version of notepad++.
I create a new line with four spaces and then some code, when I press enter, the new line has a tab instead of indent. I'll look into the issue more on the web.
But the language is set to Python.
I create a new line with four spaces and then some code, when I press enter, the new line has a tab instead of indent. I'll look into the issue more on the web.
But the language is set to Python.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Can you support tabs in code?
Hmm, thats odd.
Take a look in the settings maybe.
The reason tabulated spaces aren't supported is because they're not supported in Python, which Ren'Py uses heavily. At least, thats my understanding, I may be incorrect. I should probably research that...
Take a look in the settings maybe.
The reason tabulated spaces aren't supported is because they're not supported in Python, which Ren'Py uses heavily. At least, thats my understanding, I may be incorrect. I should probably research that...
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Who is online
Users browsing this forum: No registered users