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.

14311 questions
2795
votes
33 answers

Open a URL in a new tab (and not a new window)

I'm trying to open a URL in a new tab, as opposed to a popup window. I've seen related questions where the responses would look something like: window.open(url,'_blank'); window.open(url); But none of them worked for me, the browser still tried to…
Mark
  • 39,169
  • 11
  • 42
  • 48
1301
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
  • 13,299
  • 5
  • 19
  • 28
947
votes
23 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
  • 21,384
  • 13
  • 39
  • 41
712
votes
24 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
  • 9,343
  • 6
  • 27
  • 28
443
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
  • 4,608
  • 2
  • 17
  • 6
389
votes
11 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,895
  • 6
  • 21
  • 14
385
votes
26 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
  • 4,047
  • 3
  • 15
  • 10
346
votes
10 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
  • 166,356
  • 226
  • 505
  • 746
307
votes
8 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
  • 53,565
  • 76
  • 241
  • 413
251
votes
13 answers

Visual Studio Code - Convert spaces to tabs

I have both TypeScript and HTML files in my project, in both files tabs are converted to spaces. I want to turn the auto-conversion off and make sure that my project has only tabs. Edit: With this setting it seems to work in HTML files but not in…
Matan Yadaev
  • 3,018
  • 3
  • 19
  • 21
244
votes
13 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,733
  • 4
  • 30
  • 44
243
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
  • 4,273
  • 3
  • 27
  • 39
227
votes
10 answers

How can I convert leading 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
  • 53,018
  • 53
  • 161
  • 198
226
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
  • 46,998
  • 29
  • 98
  • 90
226
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,827
  • 6
  • 35
  • 53
1
2 3
99 100