I need to build multiple configurations, e.g. Debug, Release, in VisualStudioOnline.
Found some guides doing this online (e.g. here, and here) but they all end up with "Under the Options tab, enable Multi-configuration".
Problem is I have no such entry in the options tab.
Is it a licensing thing? Do I need to enable it somewhere else? Has this functionality been removed or replaced with something else?
Refer to this screenshot and check it:
Related
I have been using VSCode for a long time and I don't know how to resolve this problem.
Please don't confuse what I am asking with removing a break-point after I have added it. I simply want to disable them all together.
Here is an image of the break-points that I am referencing:
Break-points are contributed by debugging extensions. If you want to rid your self of them you need to disable the debuggers for the markdown/programming language that your coding in.
First you need to check the extensions you installed for any debuggers. I included an image below that shows how to search for them.
Right click on the debugger extensions and disable them.
Now you need to look for debuggers built-in to VS Code
To do this, refer to the next image below.
and again, right click them, then disable them.
Additional Info:
Not every debugger is going to contribute breakpoints to the language your coding in. Its likely going to be a single debugging extension that contributes the breakpoints. Disabling all debuggers will get rid of them, but I suggest that after you get rid of the break points that you go back and enable the debuggers one by one, and check and see if the break-points come back after each one is disabled. This way you can find the debugger that is contributing them. Then disable only the debugger that is adding them, and leaving all other extensions enabled, as some features rely on them.
It looks like your writing a markup language, specifically either standard HTML, or XML (probably SVG). Those are not debuggable languages, so some extension is probably needlessly contributing breakpoints. Which means it might be a debugger you installed.
EDIT:
As an FYI, you should also make sure the setting "debug.allowBreakpointsEverywhere" is set to false.
go click on the run part on tab and select remove all breakpoints
I have many themes installed in visual studio code. Now and then, I want to be able to look at all the other extensions (everything that is not a theme) so that I might disable one or two.
How can I do this? The documentation shows how to use filters, but I don't see any way to tell it to NOT show something.
This filter shows me all the installed themes:
#installed #category:themes
I've tried using ~ and ! and NOT in various places, just guessing there might be a feature implemented to understand something like that, but they don't work.
This is a know issue, currently at the backlog waiting for development.
You can track it here.
This need has been raised here. Note in the last comment:
#49374 is tracking the feature of having exclusion filters for your scenario of seeing non theme extensions.
Unreal Engine 4.18.3,
Windows 10,
C++ or Blueprints,
Top Down or Third Person Project.
I'm really sorry - I can't add an Environmental Query. It's not available in the AI menu when trying to "Add New" to add an advanced item, it's not in project settings, and you can't add one from the BT.
I can't follow the AI tutorial as there's no way to add an EQS query. I've looked in many posts and other forums but nothing seems to apply to 4.18.3
Also, I can't find any ini file setting with anything like "EnvironmentQuery" in it, to enable it in some ini file.
Is there some add-on I need to install?
How can I add an Environment Query to my project?
Solved
In Config/DefaultEngine.ini I had to manually add:
[EnvironmentQueryEd]
EnableEnvironmentQueryEd=True
Enabling the Environment Query System:
Edit Menu -> Editor Preferences
Experimental
Scroll down to AI
Enable Environment Query System
Solved
In Config/DefaultEngine.ini I had to manually add:
[EnvironmentQueryEd] EnableEnvironmentQueryEd=True
I have one functionality and it is depending on one static library. Actually, Apple is not allowing this static library because of few reasons. So, for now we have decided to add one Preprocessor macro and based on that functionality should be switch on/off.
I have switched my code to behave based on that Preprocessor macro. But I didn't find any to link or unlink the library based on preprocessor macro. I can not allow to link the library all times, as I have already told apple is not allowing it.
One solution that I already know : I can create the multiple target. But problem is that my app has already lots of targets. So, again to manage this I have to create one more target for each target those are already created.
Any help will be appreciated.
Edit:
I have created configuration like Francesco suggested. But One quick question I have let's say If I will remove the path of library from "Library Search Path" then that library will not be linked to app? Because that library is still in target of App.
Instead of targets you can create multiple configurations. And you can change the linker flags there.
I did this think for Sparkle framework (which is not allowed on App Store)
EDIT:
To create/manage the configurations click on the project in the sidebar. Then in the main window select again the project, not the targets, and select the "Info" tab.
Together with Deployment Target selection and Languages you will find a Configuration section.
You can add or remove configurations from there.
Then to launch it you have to go to Product -> Scheme -> Edit Scheme -> Build Configurations.
You can duplicate an existing scheme and choose the correct configuration from there.
You can remove the static library from the list of linked items by setting a (somewhat undocumented) Xcode build setting:
EXCLUDED_SOURCE_FILE_NAMES = libUnwanted.a
You can do this in an .xcconfig file or in the normal target build settings UI (by adding a custom build setting). If you for example set this in the "Release" configuration Xcode will include the library in the "Debug" build but omit if for the release build.
EXCLUDED_SOURCE_FILE_NAMES works with all kinds of files that can be added to a target: source files, resources, libraries, ...
Here's how to do this step by step:
Open the target build settings by clicking on the blue project icon in the Project Navigator and select the Build Settings tab.
Click the plus icon to add a "User-Defined Setting"
Name the setting "EXCLUDED_SOURCE_FILE_NAMES"
Expand the Configurations for the setting and set the "Release" value to the name of your unwanted library.
Credit of this answer goes to Nikolai Ruhe & Francesco
I have combined the answer of both and I got the solution.
Here are the steps that I followed.
Created new configuration. ( To know how to create configuration see
the answer of Francesco)
Added flag EXCLUDED_SOURCE_FILE_NAMES in user-defined setting of Build settings. (For steps see the answer of Nikolai Ruhe). And in this flag I have added the name of my static library under the my custom configuration.
Here is a good tutorial that will definitely help you : Remove tesflight from Distriubtion
I'm developing a qgis python plugin. This plugin changes the default UI windows displayed (which I've already managed to do) and creates a few new tabs and such. Recently, it was requested that I modify some of the options within qgis. These are what they want me to modify:
Under Settings -> Options -> CRS ... modify the preference to Always start new projects with this CRS. They want me to change that to a specific CRS. They also want me to change several settings under the general tab and the map tools tab.
I have no idea where these preferences live in the API and/or how I can change them. I don't think I need specifics, but if you could give me a general idea of where to look, it would be much appreciated. Thanks!
I figured out the answer here. This mailing list entry: http://lists.osgeo.org/pipermail/qgis-developer/2012-October/022627.html and this http://qt-project.org/doc/qt-5.0/qtcore/qsettings.html were helpful. I ended up going into the windows registry to figure out the names of the options (since that's where they're set when you use store QSettings natively in Windows. It was under HKEY_USERS/myid/Software/QuantumGIS. In there, I just experimented by turning things on and off to figure out what needed to be changed in the plugin. I did that like this.
settings = QSettings(QSettings.NativeFormat, QSettings.UserScope, 'QuantumGIS', 'QGis')
settings.setValue('/Projections/projectDefaultCrs', 'EPSG:2278')
Hope this helps someone else.