Xcode 4: HTML Preview - xcode4

I have a index.html in my project - but I shows everytime only the html code, not a preview. I found a lot of tutorials with the description, that I can set an editor in the file types tab of the xcode preferences. But this tab does not exist in xcode 4.
How can I change the setting, that every html file in xcode shows a preview and not the code?

Related

Android ImageView #drawable options doesn't showed up

android:src="#drawable/your_image" option doesn't show up but all the other .XML file options showed up. Even after I have copied the image in the drawable folder. "#mipmap/ic_launcher options showed up instead
sync and rebulid the Android Studio again

R markdown web page hosted on github does not reflect _site.yml

I am using this tutorial to create a R markdown web page hosted on github: http://nickstrayer.me/RMarkdown_Sites_tutorial/
I created _site.yml, Index.Rmd, and build_site.R exactly as in the tutorial (copy/pasted). When I open index.html in a web browser from my local directory, index.html reflects the _site.yml style and appears as expected based on the tutorial (navigation bar at top, same as in the tutorial).
However, when I upload the index.html to github and view the page through the repository web page address as in the tutorial, the style is lost. There is no navigation bar, and the menu items just appear as text links.
I tried using multiple browsers, and the issue remained.
Result when index.html opened locally:
Result when same index.html opened via github repository web page:
repository: https://github.com/jjwill2/jasonwilliams
rendered site: https://jjwill2.github.io/jasonwilliams/
Your locally rendered site contains a directory site_libs. Files from this directory are used within the HTML pages, but you have not committed (or pushed) them to the git repository on Github. Once you commit these files and push them to github, the problem should go away.
A good debugging technique for these sort of issues are the developer tools build into modern browsers. The network view in FF gives the following upon loading your page:

IExpress - create exe with custom icon

With the help of IExpress I created an exe from a bat file and would like to set a custom icon for the exe. Is this possible?
Regards
Try Resource Hacker. It worked here with a test IExpress installer.
Step-by-step instructions:
Create your IExpress package as normal.
Launch Resource Hacker, then open your IExpress-generated executable.
In the Action menu, choose Replace Icon …
Open the file that contains the icon you want to use, then click Replace.
Save the file in Resource Hacker. This will get you two files:
Your new file: package.exe
Your original file: package_original.exe
If the icon for package.exe looks wrong on your computer, this is expected behaviour due to the old icon being cached by Explorer. To clear the icon cache, you can execute:
ie4uinit.exe -show
(This will only be a problem on the computer that you used to edit the file; other computers should show the correct icon straight away.)
As a workaround you can create a shortcut of the exe file and then set a custom icon to it.

How to manually set the "default download" file in a Sourceforge project?

When I update some files on my Sourceforge projects, the last uploaded file is always automatically offered on the download page as the "Looking for the latest version? Download..." and it becomes the default download from the project's front page.
My problem is that, on one project, there is the main source tarball but I also have some optional code components that I want to add to the site. Whenever I add such optional component they become the "latest verison" of my app.
Is there a way to force a file to become the "latest version" of the app so that it stays the default download on the main project page?
If the wrong file is linked to Download button, you can change it by:
Click Files
Browse through the folders until you find your preferred file
Click the "i" icon at the right of the file's entry in the table of files
In the pop-up window, under the Default download for: heading, click Select All
Press Save
Give it a few minutes, refresh your project page and check the link

System.Data.Sqlconnection

in my application when i type sqlconnection it is not showing any intellisence, i added the namespace System.Data.Sqlclient not only sqlconnection even i am not getting Page calss can u help me.
actually i am sharing this application from my company server.
in our company previously there was .net 2.0 frame work when this project was developed(one year back).
yesterday our company installed 3.0 .net frame work is this any problem for previous project which are developed in 2.0 how can i go through this problem
You should check if your intellisense works at all first. You can try :-
1) Start your visual studio using the following :-
devenv.exe /resetskippkgs
2) Go to Tools > Option > Text Editor > All Languages . Make sure all the checkbox related to "Statement Completion" are "checked" (not just filled).
3) Close Visual Studio, delete the .suo (user option file) which is located at teh same directory as your solution file. Note that that file might be hidden. Open Visual Studio again and check for intellisense.
EDIT :- To see the hidden .suo file (or any other hidden files), follow below steps:-
1.Open My Computer.
2.From the Tools menu, choose Folder Options....
3.Click on the View tab in the Folder Options window.
4.In the Advanced settings: text area, locate the Hidden files and folders category.
Note: The Hidden files and folders category should be viewable at the bottom of the Advanced settings: text area without scrolling down. You'll see two options under the folder.
5.Choose the Show hidden files and folders radio button under the Hidden files and folders category.
6.Click OK at the bottom of the Folder Options window.

Resources