phcode-dev / phoenix

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

[feat] Automatic indentation detection #1774

Closed albert200000 closed 2 weeks ago

albert200000 commented 1 month 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 1 month 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 2 weeks 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.