settings

How do I move Delphi XE packages and settings to another user?

夙愿已清 提交于 2019-12-04 03:37:31
We have set up a new (template) development machine with among other things Delphi XE including a large number of third-party and internal packages, and intend to make a number of clones of this computer for the developers in our team. Note that we are not trying to bypass licensing, we (re-) activate/register Windows, Office, Delphi XE etc. after cloning. My problem is that when I am logged on (as myself) to the clone that will be my own machine, Delphi shows none of the packages we installed (i.e. on the the template machine, using a local Administrator account). Is there anyway I can find

Cannot change fonts in Visual Studio 2013

无人久伴 提交于 2019-12-04 03:21:43
I used to be able to change the fonts and colors of Visual Studio 2013 by going to Tools > Options , then Environment > Fonts and Colors , and finally showing the settings for the Text Editor. However, now I cannot show the settings for the Text Editor. The first setting in the list is now the fonts and colors for the Printer. Edit: Here is a photo of where the setting is missing. First try to remove HCU\Software\Microsoft\VisualStudio\12.0\FontAndColors\Cache If that will not help try to remove both HCU\Software\Microsoft\VisualStudio\12.0\FontAndColors and HCU\Software\Microsoft\VisualStudio

How I can get available timezones (android:settings)

别来无恙 提交于 2019-12-04 03:13:29
问题 I want to get TimeZones , that I can see in settings: Date and Time --> Yes, I know, that in java/android can get all timezones by TimeZone.getAvailableIDs() , but I want get only timezones, that exists on . 回答1: As you noticed, it is possible to get a list of all the TimeZone s available on your device by invoking TimeZone.getAvailableIDs() , however, this usually returns you a list of 500+ TimeZone s with a displayName that's not always user friendly (like a GMT+05:00 ). So now, if you take

How to change text color between two quotes in PowerShell window

ぃ、小莉子 提交于 2019-12-04 02:40:47
问题 I can't change the text color between two quotes (now its color is durk-blue). Where can I set up this setting or which command I have to execute? sample 回答1: PSReadline v1.x (as shipped with Windows PowerShell v5.1): Set-PSReadlineOption -TokenKind String -ForegroundColor Green PSReadline v2.x (as shipped with PowerShell Core 6.1.0): Set-PSReadLineOption -Colors @{ String = 'Green' } In both cases you can use the colors defined in the [ConsoleColor] enumeration type. In v2.x you can

In JetBrains tools, how can I share IDE and project settings between multiple developers?

情到浓时终转凉″ 提交于 2019-12-04 02:37:06
I love the JetBrains tools. But, I can't find a way to effectively share settings at the IDE level and the project level with team members. To date, I've followed instructions provided by an article on the JetBrains site, titled "How to manage projects under Version Control Systems" . But, many comments on the article warn against implementing it as a method for sharing project settings. And I've run into a few issue with the method, namely not everything I'd like to be shared, is actually shared with team members. I've also tried using the function found under the File->Settings Repository

How to store int[] array in application Settings

一笑奈何 提交于 2019-12-04 02:10:12
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 like this: // Store setting Properties.Settings.Default.TargetLocation = txtLocation.Text; ... // Restore setting txtLocation.Text = Properties.Settings.Default.TargetLocation; Now I'd like to store either an array of ints ( int[] ), or possibly a List of ints ( List< int > ), as a setting. However, I can't figure out how to do this. I've searched

Plugin to use its own app.config

妖精的绣舞 提交于 2019-12-04 00:33:35
I finally managed to build a working solution of a plugin architecture with help of some guys over here, but now a new problem arises. My hosting application uses it's app.config file for some defaults for the executing assembly (which is a Windows Service). Each plugin should be able to load it's own settings from a separate plugin settings file because the host shouldn't be made aware of the plugin settings. In the plugin project I added an app.config file as well (with some settings and a connection string) so that I can instantiate the Properties.Settings class and use it's properties in

iPhone and NSUserDefaults

北城余情 提交于 2019-12-03 22:19:24
问题 In my viewWillLoad: method I'm currently doing something along these lines: - (void)viewWillAppear:(BOOL)animated { NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; if ( [defaults boolForKey:@"enabled_preference"] ) { ... } else { ... } [super viewWillAppear:animated]; } If I build and run the application before opening the preference pane (built using a normal Settings.bundle ) then the bool seems to be NO (or more probably nil ) rather than the default YES . However if I

Intellij: Adding 'Interface' to my context menu in the Project Pane

谁都会走 提交于 2019-12-03 22:14:36
Currently in IntelliJ, if I right-click a package in the Project pane, I can see things such as: new > Java class new > File new > Package I want to add some new menu items in the 'new' context menu such as Interface and Enum. Does anyone know how to do this? I've been playing around in the Settings > Menus and Toolbars without any luck. Edit: The funny thing is if I right click a package and choose New > Edit File Templates... , I can see the template for an Interface and in the description it actually says: This is a built-in template used by IDEA each time you create a new Java interface,

Different settings for each application with Django

こ雲淡風輕ζ 提交于 2019-12-03 21:54:55
How do I use different setting for each application? For example: http://www.mysite.com/app1 uses the settings.py + local_settings.py of the app1's folder... http://www.mysite.com/app2 uses the settings.py + local_settings.py of the app2's folder... etc... Thanks, you could check all ways of splitting up your settings from here: https://code.djangoproject.com/wiki/SplitSettings DTing Older relevant thread talking about per application settings: http://groups.google.com/group/django-developers/browse_thread/thread/fc8b2e284459f6cf You can run multiple django instances on a single domain with