phcode-dev / phoenix

Phoenix is a modern open-source Code Editor for the web, built for the browser.
https://phcode.io
GNU Affero General Public License v3.0
1.78k stars 124 forks source link

[feat] Automatic indentation detection #1774

Closed albert200000 closed 3 months ago

albert200000 commented 4 months ago

Describe the problem

I want editor to set indentation level automatically based on code in file.

Describe the solution you'd like

The extension that worked for me https://github.com/hirse/brackets-detect-indentation. Can it be used without node?

Alternatives considered

No response

Additional context

No response

abose commented 4 months ago

Thanks for reporting the issue. This is a good feature to have. Let me see if i can add this in the next release.

abose commented 3 months ago

Feature added via https://github.com/phcode-dev/phoenix/pull/1806 @albert200000 This will be avilable in the next release. Thanks for the feature request. closing as done.