Code View line text wrap

In Code View, often one line of code such as a paragraph can be quite long which then requires lots of sideways strolling to get to its end. It would be much more user-friendly if the text of one numbered line of code could wrap onto several lines like how it does for example in Dreamweaver and other text editors.

Could you provide a screenshot on where you see this and what causes that?

Agreed. This is what it should look like .

I think Ideally we could toggle wrapping.


Looks like it’s already build into ACE, we just need a button to turn it on/off

1 Like

Sorry, I should have included images to better explain what I mean. This is what some code currently looks like in treepl code view:

In order to see an entire line, I have to scroll sideways.
This is what the same code looks like in Dreamweaver code view:

The text on one line will automatically wrap to a new line (but it’s the same line number) so that I can see the entire line without having to scroll sideways.

This is definitely a developer preference setting (as is found in most text editors).
Personally I don’t like code wrapping, where other developers prefer it. So hopefully can be a toggle/setting as a preference rather than the rule.

This makes sense, thank you.
We will add a global setting (in this or next sprints) that will enable/disable text wrapping on a new line in the ace editor.

4 Likes

My guess* is this global setting feature was not added in the 3.2 release? If this has already been added how would I go about changing it?

*Fairly new to Treepl so still trying to figure out how to keep track of things.

@JFK as far as I know it hasn’t been added. It would have been in the release notes if it was.

1 Like

I guess @Eugene can clarify?
Let me know if I need to add anything to the public backlog :slight_smile:

This setting will be added in the 3.3 release.

5 Likes