This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 123877 - Indentation does not work
Summary: Indentation does not work
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: ASM (show other bugs)
Version: 7.3.1
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
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
Exception Reporter:


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.