• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
BaneTrapper

Open a file by tiping in its name in Visual studio 2010 c++

10 posts in this topic

Hello.
What i am trying to do is find a way to navigate around files in Visual studio 2010 c++,
I have about 20 files(.cpp, .h) and am expecting about 50-70 more, and navigating around is a real pain.

In codeblocks there was a way for this "Alt+G" .

Any tips and suggestions how to navigate around files?
0

Share this post


Link to post
Share on other sites
You can use the search box for this: just type in ">of myFile" (without quotes) and it opens the file.

As an alternative there are add-ons that do this. Visual Assist X, for example, has that feature. Edited by brx
2

Share this post


Link to post
Share on other sites
You can install Vissual Assist X into Visual Studio as a plugin in which has this bound to ALT+SHIFT+O by default. There is nothing like this in stock Visual Studio and you are going to have to rely on a plugin to do this for you. Visual Studio Express versions don't support plugins so there is no way to get it in those other then to bring up the open file dialog, but that's not really what you are after I think.
0

Share this post


Link to post
Share on other sites
Well that said.
Codeblocks gets my n1 IDE prize.
Until i can afford visual studio.

Thanks on help. Edited by BaneTrapper
0

Share this post


Link to post
Share on other sites
well i colleague of mine once told me that around 10 years ago they used to navigate through files in visual studio by using the shortcut for open file (Control + O) and start typing the name of the file. guess you could use that. :)
0

Share this post


Link to post
Share on other sites
In the command window (Ctrl + alt + A) type:

open [filename]

at the prompt.
You generally just need the name of the file, it should generally be able to find the full path automatically.
1

Share this post


Link to post
Share on other sites
Uh, why hasn't anyone said anything about Ctrl+Comma yet (or Edit->Navigate To if your keybinds are different)? That lets you to navigate to files and/or symbols in your code by typing their names. Is it not available in the express editions or something? Edited by Mike.Popoloski
1

Share this post


Link to post
Share on other sites
This feature has been added to VS2012 just for the record.

Edit : Apologies, I assumed that it must be a new feature, if people are claiming they don't have it in 2010. Edited by Gavin Williams
0

Share this post


Link to post
Share on other sites
I wrote a plug-in for this because I missed the Visual Assist functionality but didn't want to purchase it:
[url="http://nemesis.thewavelength.net/index.php?p=56"]http://nemesis.thewavelength.net/index.php?p=56[/url]

It also supports Alt-O to open the .cpp from a .h and vice versa.
0

Share this post


Link to post
Share on other sites
Honestly, I don't quite get it. What's the problem with typing
[CODE]
>of
[/CODE]
in the search box? The search box is there by default (I might be mistaken, but even if it isn't, it's easy to get it), so it's only four keystrokes (including the space after the "of") to get this feature. Yes, it also works in the command window as Sandman suggested, but I think the search box is a lot faster.

[quote name='NightCreature83' timestamp='1355840576' post='5012051']
There is nothing like this in stock Visual Studio
[/quote]
This is plain wrong.
0

Share this post


Link to post
Share on other sites
[quote name='Mike.Popoloski' timestamp='1355849723' post='5012107']
Uh, why hasn't anyone said anything about Ctrl+Comma yet (or Edit->Navigate To if your keybinds are different)? That lets you to navigate to files and/or symbols in your code by typing their names. Is it not available in the express editions or something?
[/quote]
Well that would do it, thought its a bit slow, but i will save allot of time this way, also that in my Visual studio express 2010.

[quote name='Gavin Williams' timestamp='1355852200' post='5012117']
This feature has been added to VS2012 just for the record.
[/quote]
As i just said above, i have ability to use this in Visual studio express 2010.

EDIT:
Please don't down vote'Gavin Williams' post for no reason...
He obviously meant no harm, just wanted to help.
[quote]Replay to "brx" post[/quote]
I did not find the search box and after i found "Edit -> Navigate to (hotkey ctrl+,)" i did not investigate any further tho it would be a viable option.

Thanks you everyone
Edited by BaneTrapper
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0