Some filetypes in Visual Studio includes more then one file, for example resx and winform files. So If I need to add existing filetyp of this type I always end upp with multiple files in solution explorer? Are thay not supose to be shown as one file based on there name?
BestRegards
So If I need to add existing filetyp of this type I always end upp
with multiple files in solution explorer?
Multiple file is the part of ProjectItem template. If you add WinFor you will always get several files.
If you don't want to use such template you can create your own template from code created ones with File->Export Template wizard.
To group files in solution explorer read this post
Related
I am new in lua and gmod coding. I have already coded successfully a HUD's addons but i am stuck in another.
I want to create a new entity, and after reading lots of tutorial, i manage to do it but in game, the word ERROR appears in red when spawning, not the model. The server and the client are located on the same PC, for debugging considerations. I try to put mdl files on several folders without aby change.
I put mdl file in
addons/models/model.mdl
I think the client doesn't find the model file : do i need a workshop content even for testing ? Where do i put the files ?
Thanks.
I got it. When reusing existing MDL file, i must keep the original path for files.
That is, when opening mdl file, a path is writing at the begining. This path must be the same in the models subfolder of the addons (path and filename).
I have searched a number of plugins for adding automatic/manual headers/comments/function details in any C/C++ file when open in vim editor, even tried using .vimrc file using autocommands. But they are for while opening a new file. Is there any same for already existing files?
Its very tedious for adding information about a code/function in a large code-base.
lh-cpp provides:
customisable templates for file headers
loaded automatically when a new file is created from the file template, before expanding the dedicated .h/.cpp file template
or on demand as they are 3 ways to trigger a template/snippet expansion (automatically on new files, or on demand with :MuTemplate c/internals/c-file-header here (you can also set an alias to something else) or on snippet expansion). As lh-cpp/mu-template snippets/templates are actually similar to functions/variations points, you can ask to expand only file headers (which are customizable on a per-project basis), or anti-reinclusion guards, and so on.
:DOX command that analyses functions signature to fill the function headers as best as possible
advanced snippets for various kind of classes (entity classes, base classes, copiable classes, exception classes, ...) and should eventually fill as much information as possible in the class doxygen from the class semantics -- I just didn't have enough time yet to implement this feature.
There are at least two approaches, one using abbreviations and one using snippets.
For example, you could use Ultisnips to add a pre established header.
I'm using cakephp XLS helper to generate Excel report in my project.
But the generated file is giving warning message in windows system as below.
Similarly the same file displays the entire xml mark-up in open-office on linux as below.
Part of the view file code is as below.
$xls->setHeader('Report_'.date('Y_m_d'));
$xls->addXmlHeader();
$xls->setWorkSheetName('Enrollment Report');
//1st row for columns name
$xls->openRow();
$xls->writeString('ID');
$xls->writeString('Zipcode');
My Client wants a proper excel report with-out any warnings in windows.
Please suggest me any excel helper for cakephp which will generate proper excel file on all the platform and different application.
Your problem is that you are using a helper that puts your data in xml format. Excel can read XML and HTML but with a warning. You should use the one that Ivo suggested in the comments. LINK
This helper really makes an xls valid format, that complys with open office and office. Also, this helper relies on PHPExcel class that is constantly updated here so your code will be easy to upgrade if needed.
Remember to follow instructions given in the helper page.
I've tried a lot of this xls helper for cakephp, but neither one work as expected, either outdated or create xml o html tables or didn't work at all, haven't tried this one though... still creating a helper using PHPExcel shouldn't give you much trouble, you may use this tutorial as a how to base to modify the helper.
I think you need to set the mime-type. This has happened to me in the past and it was when the mime-type of an older excel helper was set to an out-dated value.
The code from the linked (by Ivo) helper has the following:
function _output($title) {
header("Content-type: application/vnd.ms-excel");
header('Content-Disposition: attachment;filename="'.$title.'.xls"');
header('Cache-Control: max-age=0');
$objWriter = new PHPExcel_Writer_Excel5($this->xls);
$objWriter->setTempDir(TMP);
$objWriter->save('php://output');
}
I would make sure you are:
a) using the newest helper (http://bakery.cakephp.org/articles/melgior/2010/01/26/simple-excel-spreadsheet-helper)
b) that the mime-type is actually set.
c) that that specific mime-type is accurate.
Is there any way of organizing a icon collection so that it easier to find needed icons?
For example:
the program needs a save icon
there are 5 icons collections on your HD that have a save icon and there are 5 more collections that don't have a save icon (but you don't know that)
do you browse through each icon collection?
run a search (assumes files are named consistently)?
Would it be ideal to have some sort of organized directory (printable?)?
UPDATE
My process so far:
Use XXCopy to merge all icon folders into one folder.
Syntax = xxcopy "C:\Documents and Settings\jm\My Documents\Icons" "C:\Documents and Settings\jm\My Documents\All_Icons" /s /sr
Use Contact Sheets to add all files from the super folder and then export out contact sheets for all the images. This should sort them alphabetically.
Print and put in a binder -> now to find the actual file all you need to do is browse the binder, find the filename, and then search via Windows for the actual folder location.
In Visual Studio, there is a ZIP file with icons organized in folders. The organization is mostly by filetype and image size, is pretty messy, and contains many duplicates, so you should probably not follow their example.
However, they provide a HTML file in each folder that shows the icons in that folder in a nice readable list (better than Explorer's standard preview). You could do something similar, but maybe provide a table instead, for example with one column per collection, and one row per "concept" (e.g. save icon).
Suppose I have bibtex data for, say, 10 articles. Is there a way to, within jabref, create 10 entries from this?
A solution is to just open the .bib file and paste the data in.
Select the text that forms the BibTex source of the multiple data entries and drag this into the library view of JabRef. You could probably drag all the files in, however I have not tested this.
alt text http://inverse.seednet.eu/snaps/jvvuow.png
go to File, Append Database. then browse in to bibtex files folder, you can select multiple files in a row, then click ok, if you have 20 bibtex or txt files, they will be all loaded to one bib file. It was great, solved my problem.
I often get BibTeX source code from citeulike.org, and I copy/paste this BibTeX source directly into JabRef by:
Menu: BibTex -> New Entry (Ctrl^N, or the green + button)
select a random type; I typically just pick Article
Down the bottom, in the new edit view, select the BibTeX source tab
Replace the BibTeX source in that tab, with that of one paper
And repeat this for all papers.
(OT: also, make sure to check the Web search menu.)