Questions tagged [tabs]

A user interface pattern that allows for the display of multiple pages or elements with a navigation reference above, below, or to the side of the content. On clicking the navigation reference, one element is made visible while others are toggled off. Often, the navigation reference is color-coded in a manner to indicate that it is currently visible.

A user interface pattern that allows for the display of multiple pages or elements with a navigation reference above, below, or to the side of the content. On clicking the navigation reference, one element is made visible while others are toggled off. Often, the navigation reference is color-coded in a manner to indicate that it is currently visible.

This can also refers to the character tab.
See this GitHub study about tab versus space.

13519 questions
1187
votes
4 answers

Open link in new tab or window

Is it possible to open an a href link in a new tab instead of the same tab? Link
Rene
  • 12,141
  • 5
  • 17
  • 26
913
votes
21 answers

How do I change Eclipse to use spaces instead of tabs?

By default Eclipse indents with a hard tab character. How do I change it to spaces?
Brian Deacon
  • 19,494
  • 12
  • 36
  • 40
693
votes
22 answers

Eclipse HotKey: how to switch between tabs?

How can I switch between opened windows in Eclipse? There is Ctrl+F6, but it's asking me which one I want, but I want switch it like tabs in browser or window in operating system (Cmd/Win+Tab) without file-selection from the list. How to do this…
Skay
  • 8,744
  • 6
  • 24
  • 26
382
votes
10 answers

Using Vim's tabs like buffers

I have looked at the ability to use tabs in Vim (with :tabe, :tabnew, etc.) as a replacement for my current practice of having many files open in the same window in hidden buffers. I would like every distinct file that I have open to always be in…
indentation
  • 9,407
  • 6
  • 19
  • 14
370
votes
24 answers

Twitter Bootstrap Tabs: Go to Specific Tab on Page Reload or Hyperlink

I'm developing a web page in which I'm using Twitter's Bootstrap Framework and their Bootstrap Tabs JS. It works great except for a few minor issues, one of which is I do not know how go directly to a specific tab from an external link. For…
mraliks
  • 3,897
  • 3
  • 13
  • 9
357
votes
10 answers

Echo tab characters in bash script

How do I echo one or more tab characters using a bash script? When I run this code res=' 'x # res = "\t\tx" echo '['$res']' # expect [\t\tx] I get this res=[ x] # that is [x]
kalyanji
  • 3,748
  • 2
  • 15
  • 6
302
votes
9 answers

How to change tab size on GitHub?

When I view files on GitHub, tabs appear as 8 spaces. Example: Is that possible to change this configuration to 2 or 4 spaces?
Misha Moroshko
  • 148,413
  • 200
  • 467
  • 700
227
votes
12 answers

Tab not taking full width on Tablet device [Using android.support.design.widget.TabLayout]

I have setup tabs as UPDATE 29/05/2015 this post. Tabs take full width on my Nexus 4 mobile but on nexus 7 tablet it in center and not cover full screen width. Nexus 7 screenshot Nexus 4 screenshot
Max
  • 5,493
  • 4
  • 26
  • 42
227
votes
7 answers

How do I change tab size in Vim?

Every time I add a selector in CSS and I press Enter to define the properties it ends up like this: #selector { property: value; } (8-space tabs) How can I configure Vim to make it like this: #selector { property: value; } (4-space…
alexchenco
  • 47,739
  • 69
  • 219
  • 389
219
votes
8 answers

Is there a vim command to relocate a tab?

How can I change the position / order of my current tab in Vim? For example, if I want to reposition my current tab to be the first tab?
Gavin
  • 3,993
  • 2
  • 25
  • 35
209
votes
4 answers

Can git automatically switch between spaces and tabs?

I use tabs for indentation in my python programs, but I would like to collaborate (using git) with people who use spaces instead. Is there a way for git to automatically convert between spaces and tabs (say, 4 spaces = 1 tab) on pushing/fetching?…
Olivier Verdier
  • 41,410
  • 26
  • 94
  • 89
206
votes
11 answers

Sublime Text 3, convert spaces to tabs

I know there are a lot of posts about this, but I couldn´t get it to work. I use tabs for coding. Is there a way, to convert always spaces to tabs? I.e. on open and on Save files? Anyone got an idea? // edit: My desire is to do this automatically!…
chris
  • 4,555
  • 5
  • 30
  • 53
204
votes
9 answers

How can I convert spaces to tabs in Vim or Linux?

I've looked over several questions on Stack Overflow for how to convert spaces to tabs without finding what I need. There seem to be more questions about how to convert tabs to spaces, but I'm trying to do the opposite. In Vim I've tried :retab and…
cwd
  • 47,510
  • 50
  • 154
  • 194
202
votes
6 answers

disable the swipe gesture that opens the navigation drawer in android

I've been following the navigation drawer guide by Google and I'd like to add it to an Activity with tabs and gestures. I'd like to disable the gesture to open the navigation drawer, does anyone have any idea how to do this?
user1627990
  • 2,437
  • 2
  • 13
  • 18
198
votes
18 answers

How to insert spaces/tabs in text using HTML/CSS

Possible ways:
 ... 
or style="white-space:pre" Anything else?
Yeseanul
  • 2,517
  • 4
  • 18
  • 25
1
2 3
99 100