Bug 123877 - Indentation does not work
Indentation does not work
Status: NEW
Product: cnd
Classification: Unclassified
Component: ASM
7.3.1
All All
: P2 with 1 vote (vote)
: TBD
Assigned To: issues@cnd
issues@cnd
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-12 12:38 UTC by Egor Ushakov
Modified: 2014-04-14 19:37 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2007-12-12 12:38:27 UTC
On carret return indentation should indent to the text start position of the previous line
Comment 1 DrHoliday 2013-09-23 20:12:06 UTC
I think NetBeans indents the way code formatting is configured. Some IDEs call this smart indent. But I'm also dying for an option to shut this off in favour of simple auto indent (just putting the cursor to the position of the start of the previous line, and nothing else).
Comment 2 soldatov 2013-09-23 21:37:33 UTC
Now a bug lost all important marks, but Egor speak about .s or .asm files (Assembler)
Comment 3 Egor Ushakov 2013-09-24 09:11:46 UTC
(In reply to DrHoliday from comment #1)
> I think NetBeans indents the way code formatting is configured. Some IDEs
> call this smart indent. But I'm also dying for an option to shut this off in
> favour of simple auto indent (just putting the cursor to the position of the
> start of the previous line, and nothing else).

This enhancement was about asm files only, please file a seprate bug/enhancement on your issue, thanks
Comment 4 DrHoliday 2013-09-24 09:18:21 UTC
Sorry, I thought you would have forgotten about this after 5 years and wanted to re-use this bug in order to not have a duplicate.

I think the issue is the same, not matter what file type we are talking about. I'm interested in PHP and if I press enter after a line like "foreach ($array as $key => $value)" the cursor jumps to the right. I would like to have the option to have the cursor directly below the first "f".

Are you talking about something else?
Comment 5 Egor Ushakov 2013-09-24 10:00:43 UTC
(In reply to DrHoliday from comment #4)
> Sorry, I thought you would have forgotten about this after 5 years and
> wanted to re-use this bug in order to not have a duplicate.
> 
> I think the issue is the same, not matter what file type we are talking
> about. I'm interested in PHP and if I press enter after a line like "foreach
> ($array as $key => $value)" the cursor jumps to the right. I would like to
> have the option to have the cursor directly below the first "f".
> 
> Are you talking about something else?

still worth filing a separate issue
Comment 6 DrHoliday 2013-09-24 10:01:47 UTC
Why do you say that?
Comment 7 Egor Ushakov 2013-09-24 10:37:14 UTC
(In reply to DrHoliday from comment #6)
> Why do you say that?

issue is the same but file type is important. If it would be fixed for all file types I will close this one as well.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo