I've been using vimwiki for a while now, and I'm quite liking it. However, I spend most of my time in Visual Studio. I'd therefore like to find a personal file-based wiki that works inside Visual Studio. It should be file-based so that the pages live with my project and I can keep them in the same version control repository (Mercurial, in my case, if it makes a difference).
Have you tried Wiki on a Stick or TiddlyWiki?
By using a file based wiki, you could check your wiki into source control alongside your code.
You could also view it in VS with the integrated web browser. If you can use relative file:/// urls, you could actually link to your wiki from comments in your code without ever leaving Visual Studio.
Alternatively, you could use Markdown files as docs in your source repository and wire up MSBuild/NAnt/NRake/whatever to run Jekyll to spit out html docs.
Or, if you hosted your project on GitHub, you'd get this for free.
Nowadays you would probably find some success with a Markdown based wiki (such as the Jekyll site publishing supported by GitHub).
A good Visual Studio Markdown editor is available from the prolific Mads Kristensen:
https://visualstudiogallery.msdn.microsoft.com/eaab33c3-437b-4918-8354-872dfe5d1bfe
https://github.com/madskristensen/MarkdownEditor
Related
I'm new to developing on Windows and getting frustrated with how non-intuitive Visual Studio feels compared to Eclipse. Here's where I'm at:
I created a local VS project, and wrote some code.
I pushed the code to github via the built-in source control options. No problems, source is all there.
My collaborator made new files, and commited them to github. Those are up and live.
I pulled from github, but I don't see the files anywhere in my solution. Where are they? How can I get them to automatically add to my VS project?
How do I pull ALL files on github into VS without having to manual download them and add them to my solution? Visual Studio version is 2019 Community edition.
--EDIT--
I finally found them by switching my solution explorer to the project's folder view using the "Switch Views" button at the top of the solution explorer pane. How do I add these to the solution view?
The concept of having a "solution" completely abstracted from the actual file contents is... strange. I think I'm just going to back to Eclipse. I want to like VS because of vast amount of content in it, but the user experience has been a much more hostile learning environment.
This is not a problem with Windows nor Visual Studio; this is a Git issue.
here are some steps to follow:
make sure that you are pushing to the same branch. checkout this link
if you are pushing into different branch make sure that you do rebasing. checkout this link
I'm working on cross-platform plugins for MvvmCross. Most of the time is spent recreating the same structure of projects over and over again, including nuget entries, changing output directories, adding files, etc. How do I automatically create all these projects in one swoop? Ideally, I would just say Add New Plugin, enter "Stopwatch" and have everything automatically create.
#Stuart has already commented but the tool recommended is what you want so I'll give it as an answer.
I've been using NinjaCoder (a Visual Studio Addin for MvvmCross) for my recent projects and it pretty much covers everything you could need to create a solution out the box. It was created by Adrian Sudbury and it can be downloaded from here.
Tutorial links can be found on the download page, but if not the blog posts regarding views, viewmodels and plugins can be found here.
I have personal Visual Studio projects that I would like to expose to the internet. I'm using BatchPurifier to remove metadata from various files but I doubt it gets whatever Visual Studio does.
You only need to "expose" the solution, project and source code files. These are all plain text files that do not contain metadata and can be reviewed with a simple text editor. They do not contain secrets unless you put them in yourself.
If you have resources as well then it is entirely up to whatever program or device created the file, Visual Studio isn't involved.
Poking around github or codeplex is a good way to find out how other programmers publish their projects.
Open the solution and project files in a text editing program such as notepad and remove any metadata you find unnecessary. I doubt you will find a tool to remove exactly what you want, you'll have to do it manually.
I would love to use VS templates more, but I find that creating and testing them is a bit of a pain. One issue is that to refresh the templates you must run the command above, and it is very slow.
Another issue is that in order to edit templates, you basically use a text editor and then shove your files back into a ZIP archive, then run the install command again. For a tool as advanced as VS2010, this seems ridiculously primitive. And because of this, I will start making a template, then quit in favor of copy, paste and replace.
It is also a pain to store and share templates with a team.
Any advice would be greatly appreciated.
Try creating your project as a vsix package instead, it will then install very fast.
Once installed you can uninstall the template just as fast by using the Visual Studio Extension Manager. The vsix also makes the templates easy to share with your team.
Regarding your other issue with editing the templates this is made easier if installing the Visual Studio SDK. It actually contains templates for creating templates so you can do it from within Visual Studio. It actually also simplifies the process of creating vsix packages.
I just installed AnkhSVN to have subversion support from within Visual Studio 2010.
I noticed I had to go to Tools > Options > Source Control to select the current source control plugin.
At the moment, I'm working on multiple projects using different version control systems. For instance, I also have some projects in Mercurial, for which a VS source control plugin is available.
Is there any way to specify the source control plugin on a per-solution basis? Or can VS detect the used vcs automatically? What are the best practices in this respect?
Edit: a google search led me to How to configure Visual Studio to use different source control providers and Can Perforce and SourceSafe co-exist in Visual Studio?. Both cover the same ground, but appear to be specific to specific vcs and lack a satisfying general answer. I'm looking for a general answer here.
There is unfortunately no good answer here. You will simply have to go in and manually change you visual studio source control provider settings before you open the project. This is a limitation of how this particular plugin system works, and will probably take a new version of visual studio to specifically address it.
This is an instance where visual studio works better for the enterprise shop with standardized source control tools, and not as good for a contractor working with multiple clients across an array of technologies.
Source control provider auto switching based on reserved directory presence can be done with a VS extension as described here.