Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Change code tab width preference

Explorer ,
May 13, 2014 May 13, 2014

I am using CF Builder 3, and for the life of me I can't find how to change the tab width in the code formatter. It is defaulted to 4 spaces wide, but I prefer 2 spaces. And I use tabs, not spaces, for indentation. In the preferences I found 2 or 3 different places where I could change the tab display width, but none of those changes fixed the displayed tab width in .cfms and .cfcs. Am I missing something, or is this a bug?

TOPICS
Builder
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
May 13, 2014 May 13, 2014

Jake,

You're right.  Both the general editor settings and the custom profile for CFM editing do not appear to respect the tab size setting.  Could you file a bug with Adobe?

-Carl V.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 14, 2014 May 14, 2014

Yes, I will file a bug. Thanks for verifying.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 14, 2014 May 14, 2014

I have filed a bug. You can comment and/or vote on the bug here: Bug#3760370 - Tab Size preference is ignored

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
May 14, 2014 May 14, 2014

Voted.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 08, 2014 Jun 08, 2014

This appears to be fixed; can someone mark it as fixed?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 09, 2014 Jun 09, 2014

Marked as fixed and closed now.

Regards,

Anit Kumar

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 09, 2014 Jun 09, 2014

I was able to change my tab width, but now every CFM page I open stays at the old tab width (4 spaces). I have to open preferences and apply the tab width for every file that I open. Is it just me?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 09, 2014 Jun 09, 2014

Also, I changed the tab width to "2" on a file, closed that file, re-opened it, and now the tab width is back to 4.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 11, 2014 Jun 11, 2014

Yup, I'm seeing the same (mis)behavior.  Anit Kumar Panda can you reopen that bug please?  I added a comment summarizing the findings of Jake and myself, and provided a link to this forum thread.


Thanks,

-Carl V.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 12, 2014 Jun 12, 2014

Carl, let me check this and revert to you.

Regards,

Anit Kumar

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 12, 2014 Jun 12, 2014
LATEST

Ram Kulkarni responded to my comment on the bug ticket.  The fix for the tab spacing issue was not included in the update that was released recently, and will be in a future update.  Guess we'll have to wait and see.

-Carl V.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources