emacs-php / emacs-php/php-mode
Proposal for better indentation for SQL strings?
Open
- Dominant language
- Emacs Lisp
- Stars
- 602
- Forks
- 117
- Avg merge
- 12h 54m
- Merged PRs (30d)
- 3
Description
Would it be possible to indent on specific keywords of SQL strings in PHP-mode? For example, when I'm typing a SQL string, and press RET on line 2:
```
public function FooBar() {
$sSql = 'SELECT foo, bar
FROM footable
WHERE foo = 1'
}
```
I would like to see have the indentation in PHP-mode like this:
```
public function FooBar() {
$sSql = 'SELECT foo, bar
FROM footable
WHERE foo = 1'
}
```
Is that even possible?
Contributor guide
Assessment
This issue has not been assessed yet.