I want to use 4 spaces for each tab in my Python code (.py files) and 2 spaces for a tab in JavaScript files (.js), and it is very difficult to keep going to the settings menu every time I switch between files.
If you enable Emacs local variables in the "Settings" → "Text Files" section, you can add settings for each file:
# -*- tab-width: 2 -*-
Textwrangler has recently (August 2009) been updated to version 3.0, which adds per-filetype tab settings.
Source: https://habr.com/ru/post/1715030/More articles:Is there any open source library that identifies data patterns in a table? - language-agnosticHudson Master Redundant System Configuration - virtual-machineThe typedef template element is used in the raw parameter identifier in VS, but not in GCC - c ++What is the best method of processing settlements in US dollars in Perl? - perljQuery slideToggle not working with colspan in Firefox? - jqueryBoost regex not working properly in my code - c ++How to change font size in GTK? - pythonJPA joins a table with multiple objects - javaКак избежать конфликтов SVN при слиянии ветки обратно в магистраль - branchУдаление файлов, не относящихся к проекту, из SVN в Visual Studio - svnAll Articles