visual-studio-2008

Type ahead autocompletion in Eclipse

独自空忆成欢 提交于 2019-12-20 09:55:06
问题 Do Eclipse have a plugin for type ahead autocompletion like Visual Studio, so I don't have to destroy my spacebar by pressing Ctrl + Space all the time? (If you don't know how it works in Visual Studio, please don't bother answering.) And also, can I limit the autocomplete to imported packages, rather than every single Java class on earth? It's fustrating seeing suggestions from awt and swing etc., when I'm working with GWT. And I don't want to add every single Java class to the filter, that

Integrating MSBuild into Visual Studio

爱⌒轻易说出口 提交于 2019-12-20 09:49:26
问题 I'm a solo developer running Visual Studio 2008 and looking into MSBuild to improve my build process. Almost all of the tutorials I've found so far have plenty of information about writing a build file. However I'm having a lot of trouble finding out how to integrate MSBuild into Visual Studio. Maybe MSBuild is only used with something like CruiseControl but that's overkill for me as a single developer. Where should the build file live in a Visual Studio project and how can I run it from

Is there a Designer for MFC in Visual Studio like for windows forms in .NET?

坚强是说给别人听的谎言 提交于 2019-12-20 09:48:58
问题 I'm a .NET programmer. I've never developed anything in MFC. Currently I had to write a C++ application (console) for some image processing task. I finished writing it. But the point is I need to design GUI also for this. Well, there won't be anything complex. Just a window with few Buttons, RadioButtons, Check Boxes, PicturesBox & few sliders. thats it. I'm using VS 2008 and was expecting a .NET style form designer. Just to test, I created a MFC project (with all default configuration) and

How to make preprocessor generate a string for __LINE__ keyword?

不问归期 提交于 2019-12-20 09:48:29
问题 __FILE__ is replaced with "MyFile.cpp" by C++ preprocessor. I want __LINE__ to be replaced with "256" string not with 256 integer. Without using my own written functions like toString(__LINE__); Is that possible? How can I do it? VS 2008 EDIT I'd like to automatically Find and Replace all throw; statements with throw std::runtime_error(std::string("exception at ") + __FILE__ + " "+__LINE__); in my sources. If I use macro or function to convert __LINE__ into a string I'll need to modify each

Cannot step into .NET framework source with VS2008 SP1

孤者浪人 提交于 2019-12-20 09:19:13
问题 Somehow my VS2008 SP1 has lost the ability to step into .NET framework sources. I've played around with checkboxes to no end; I've re-deleted the Symbol cache folder a dozen times; and I've tried all kinds of debug symbol servers. All it does is download some .PDB files, but when I try to select a stack frame in .NET, I always get the message about no source available and "do you want to view disassembly". What gives? Added: Web application; Windows Vista Business x32; .NET 3.5 SP1. 回答1: I

create boost tool executable

倖福魔咒の 提交于 2019-12-20 09:06:16
问题 I want to know how to create a tool executable, for example bcp, with the boost libraries. I have unzip the sources, but I do not know how to build to create the tool. Thanks 回答1: Complementing hkaiser answer: Run ./bootstrap.sh from $BOOST_ROOT (refer to Getting Started for additional options) ./bootstrap.sh This will generate the a ./bjam executable. You may then do ./bjam tools/bcp Or even copy this executable to tools/bcp and do ./bjam The ./bcp executable will be in $BOOST_ROOT/dist/bin

How to configure the intermediate output directory in C#

不问归期 提交于 2019-12-20 08:53:07
问题 I'm trying to organize my workspace and want my intermediate objects to be put in the ..\build\obj folder in relation to my .csproj file. So I put: <IntermediateOutputPath>..\build\obj\Debug</IntermediateOutputPath> in the .csproj file. The intermediate objects are now put in that location when the solution is built, but the problem is that an obj directory is still created in the directory the .csproj file is in (something to the effect of obj\Debug\TempPE ) when the solution is opened. What

Remote Pair Programming in Visual Studio [closed]

我与影子孤独终老i 提交于 2019-12-20 08:49:02
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Does anyone know of a Visual Studio add-in that allows remote pair programming in Visual Studio? Something along the lines of SubEthaEdit, where all users can edit the same document, live, in realtime. A shared/remote desktop connection where multiple users are in control of the keyboard and mouse is a step in

Shortcut for changing font size

て烟熏妆下的殇ゞ 提交于 2019-12-20 08:31:06
问题 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 Environment > Fonts and Colors is fine if you don't have to change the font size all the time, but in my case, I would like to be able to change it depending on what I am doing (writing and reading code or just reading it). I guess I could create two

Upgrading Visual Studio 2008 from trial to full on Windows 7 Beta (Build 7000)

心不动则不痛 提交于 2019-12-20 08:10:57
问题 I tried to upgrade from trial VS2008 to full... but, on Windows 7 Beta there is no "Upgrade to Microsoft Visual Studio 2008" option... anyone knows why?... did anyone else encountered this problem?! 回答1: Here is a more-or-less complete guide to upgrading Visual Studio 2008 trial to pro in Windows 7. Download and install/unzip AnVir Task Manager Free (portable version here: http://www.anvir.com/downloads/taskfree.zip) Go to Start -> Control Panel -> Programs and Features. Select Microsoft