Questions tagged [settings]

Settings may refer to the tweaking which can be used to help improve the user-experience or performance etc.

Settings may refer to the tweaking which can be used to help improve the user-experience or performance etc. Settings typically represent a set of options which a user can choose from adjust the interface or controls of a certain application to their preferences.

5394 questions
176
votes
7 answers

Instant run in Android Studio 2.0 (how to turn off)

How to disable Instant Run in Android Studio 2.0 Preview. When I go to the settings I see it: and I can not remove the tick from "Enable Instant Run..." I use Android Studio 2.0 Preview 9, but this error was present in Android Studio 2.0 Preview 7…
alex
  • 1,845
  • 2
  • 9
  • 12
164
votes
7 answers

How do you keep user.config settings across different assembly versions in .net?

Basically the problem is that each time the assembly version changes (i.e. the user installs a new version of the application) all their settings are reset the the defaults (or more accurately a new user.config file is created in a folder with a…
Davy8
  • 30,868
  • 25
  • 115
  • 173
160
votes
16 answers

Equivalent to 'app.config' for a library (DLL)

Is there an equivalent to app.config for libraries (DLLs)? If not, what is the easiest way to store configuration settings that are specific to a library? Please consider that the library might be used in different applications.
Louis Rhys
  • 34,517
  • 56
  • 153
  • 221
159
votes
8 answers

Python: How would you save a simple settings/config file?

I don't care if it's JSON, pickle, YAML, or whatever. All other implementations I have seen are not forwards compatible, so if I have a config file, add a new key in the code, then load that config file, it'll just crash. Are there any simple way to…
user1438098
  • 2,239
  • 3
  • 18
  • 14
151
votes
14 answers

How to Unit test with different settings in Django?

Is there any simple mechanism for overriding Django settings for a unit test? I have a manager on one of my models that returns a specific number of the latest objects. The number of objects it returns is defined by a NUM_LATEST setting. This has…
Soviut
  • 88,194
  • 49
  • 192
  • 260
130
votes
33 answers

Django: ImproperlyConfigured: The SECRET_KEY setting must not be empty

I am trying to set up multiple setting files (development, production, ..) that include some base settings. Cannot succeed though. When I try to run ./manage.py runserver I am getting the following error: (cb)clime@den /srv/www/cb $ ./manage.py…
clime
  • 8,695
  • 10
  • 61
  • 82
126
votes
10 answers

Is there any way to sync my Visual Studio Code settings between instances?

I'd like to be able to sync my VS Code user settings (File > Preferences > User Settings) to the cloud somehow so I can easily share them between multiple installations, as in Windows 10 and Visual Studio. Is there a supported way of doing this?…
Mark Whitaker
  • 8,465
  • 8
  • 44
  • 68
123
votes
4 answers

PhpStorm wrap/surround selection?

Often in coding and templating I need to wrap a certain part of text. Is there any shortcut to wrap the current selection, for example: Hello World "Hello World" Hello World {{ trans 'Hello World' }} Im using PhpStorm 7 for Mac and PC. I found…
bench-o
  • 2,339
  • 5
  • 21
  • 21
112
votes
10 answers

When using a Settings.settings file in .NET, where is the config actually stored?

When using a Settings.settings file in .NET, where is the config actually stored? I want to delete the saved settings to go back to the default state, but can't find where it's stored... any ideas?
Adam Haile
  • 30,705
  • 58
  • 191
  • 286
108
votes
13 answers

Shortcut for changing font size

Does anybody know if there is a shortcut or something similar for changing the font size in the text editor in Visual Studio 2008? What I mean is something like Ctrl + mouse wheel like in Firefox. Accessing the Options window and then selecting…
Gerardo Contijoch
  • 2,421
  • 5
  • 20
  • 29
106
votes
4 answers

Can I control the location of .NET user settings to avoid losing settings on application upgrade?

I'm trying to customize the location of the user.config file. Currently it's stored with a hash and version number %AppData%\[CompanyName]\[ExeName]_Url_[some_hash]\[Version]\ I want to it be agnostic to the version of the…
Muxa
  • 5,563
  • 6
  • 46
  • 56
105
votes
4 answers

How to force Android Studio to start with the welcome screen?

is it possible to let Android Studio start into the welcome screen instead of directly loading the last recent project? I´ve not really the fastest pc and I often need to switch between projects, its really annoying sometimes.
Marian Klühspies
  • 15,824
  • 16
  • 93
  • 136
102
votes
10 answers

From where do I import settings from previous version of Android Studio?

I was running Droidio (Android Studio) 0.6.1; from there I was not able to update to the newest version (a quantum leap to 0.8); I had to download it separately and install from Windows Explorer. But now the installation process is looking for old…
102
votes
8 answers

How to store int[] array in application Settings

I'm creating a simple windows Forms application using C# express 2008. I'm an experienced C++ developer, but I am pretty much brand new to C# and .NET. I'm currently storing some of my simple application settings using the settings designer and code…
sidewinderguy
  • 2,394
  • 4
  • 24
  • 24
101
votes
2 answers

OSError: [Errno 18] Invalid cross-device link

I'm working with django 1.6.5 and python 2.7. I have import feature in my app and I get error: OSError: [Errno 18] Invalid cross-device link I have problem with this part of code: os.rename(db_temp, settings.DATABASES['bookmat']['NAME']) code in…
mark
  • 1,027
  • 2
  • 7
  • 7