Questions tagged [configuration]

Configuration is the process of specifying the settings used for a system or application

Configuration is used to customize the behavior of a program. It is commonly done using static configuration files that can be composed in any common text editor, but some applications provide tools (sometimes even with graphical interfaces) to create, modify, and verify the syntax of their configuration files.

Some programs only read their configuration files at startup. Others periodically check the configuration files for changes. Users can instruct some programs to re-read the configuration files and apply the changes to the current process, or indeed to read arbitrary files as a configuration file.

18012 questions
1496
votes
12 answers

Vertical rulers in Visual Studio Code

Rendering More than One Ruler in VS Code VS Code's default configuration for a ruler is demonstrated below. "editor.ruler": 80 The issue I am having with the default VS Code configuration (as shown above) is that it only renders a single ruler.…
nalply
  • 26,770
  • 15
  • 78
  • 101
1484
votes
27 answers

Turning off auto indent when pasting text into vim

I am making the effort to learn Vim. When I paste code into my document from the clipboard, I get extra spaces at the start of each new line: line line line I know you can turn off auto indent but I can't get it to work because I have some…
Rimian
  • 36,864
  • 16
  • 117
  • 117
978
votes
13 answers

How do I hide certain files from the sidebar in Visual Studio Code?

In Visual Studio Code, what setting can be configured, using file patterns, to hide files from view in the sidebar's file-explorer? I would like to hide certain groups of files, like .meta and .git files.
Chris
  • 54,599
  • 30
  • 149
  • 186
951
votes
28 answers

Reading settings from app.config or web.config in .NET

I'm working on a C# class library that needs to be able to read settings from the web.config or app.config file (depending on whether the DLL is referenced from an ASP.NET web application or a Windows Forms application). I've found…
Russ Clark
  • 13,260
  • 16
  • 56
  • 81
751
votes
16 answers

How can I show line numbers in Eclipse?

How can I show line numbers by default in Eclipse?
Sayed Bondok
742
votes
19 answers

Turning off eslint rule for a specific file

Is it possible to turn off the eslint rule for the whole file? Something such as: // eslint-disable-file no-use-before-define (Analogous to eslint-disable-line.) It happens to me quite often, that in a certain file, I'm breaking a specific rule on…
Tomas Kulich
  • 14,388
  • 4
  • 30
  • 35
721
votes
15 answers

Difference between and

I'm learning Spring 3 and I don't seem to grasp the functionality behind and . From what I've read they seem to handle different annotations (@Required, @Autowired etc vs @Component, @Repository,…
user938214097
  • 7,211
  • 3
  • 14
  • 3
585
votes
29 answers

Where does PostgreSQL store configuration/conf files?

I have recently installed PostgreSQL on Ubuntu with the EnterpriseDB package. I can connect to the database locally, but I can't configure it because I can't find config files. I searched through entire hard drive and found only samples like…
Timur Sadykov
  • 10,859
  • 7
  • 32
  • 45
573
votes
34 answers

Error message "Forbidden You don't have permission to access / on this server"

I have configured my Apache by myself and have tried to load phpMyAdmin on a virtual host, but I received: 403 Forbidden You don't have permission to access / on this server My httpd.conf # # This is the main Apache HTTP server configuration file.…
Dmytro Zarezenko
  • 10,526
  • 11
  • 62
  • 104
545
votes
19 answers

How to fix: Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list

I am configuring an MVC 3 project to work on a local install of IIS and came across the following 500 error: Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list. It turns out that this is because…
hspain
  • 17,528
  • 5
  • 19
  • 31
464
votes
4 answers

What's the best practice using a settings file in Python?

I have a command line script that I run with a lot of arguments. I have now come to a point where I have too many arguments, and I want to have some arguments in dictionary form too. So in order to simplify things I would like to run the script with…
c00kiemonster
  • 22,241
  • 34
  • 95
  • 133
461
votes
15 answers

What should I set JAVA_HOME environment variable on macOS X 10.6?

Many Java applications that use shell scripts to configure their environment use the JAVA_HOME environment variable to start the correct version of Java, locate JRE JARs, and so on. In macOS X 10.6, the following paths seem to be valid for this…
Robert Christie
  • 20,177
  • 8
  • 42
  • 37
431
votes
29 answers

How to read AppSettings values from a .json file in ASP.NET Core

I have set up my AppSettings data in file appsettings/Config .json like this: { "AppSettings": { "token": "1234" } } I have searched online on how to read AppSettings values from .json file, but I could not get anything useful. I…
Oluwafemi
  • 14,243
  • 11
  • 43
  • 59
369
votes
34 answers

Dart SDK is not configured

I installed Flutter and set up Android Studio. Then I cloned an example of flutter on GitHub (https://github.com/flutter/flutter) and launched it in Android Studio, but it warns me "Dart SDK is not configured", this happened to my co-worker as well.…
Katelyn
  • 3,701
  • 2
  • 9
  • 6
360
votes
15 answers

How to define custom configuration variables in Rails?

I was wondering how to add custom configuration variables to a Rails application and how to access them in the controller? Secondly, I was planning to have S3 support for uploads in my application, if I wanted to add a yaml file with the S3 access,…
Shiv
  • 8,362
  • 5
  • 29
  • 32
1
2 3
99 100