Dreamweaver to Aptana migrate - what to do with templates - html

I have been using Dreamweaver for simple html web development and have been using .dwt templates for my html pages. There are both static and dynamic pages. I have migrated to Aptana for my IDE, but not sure what to do with dwt templates. How can I migrate them to Aptana, do they have a similar feature as I am willing to rewrite them in Aptana.

There is a page here: https://wiki.appcelerator.org/display/tis/Creating+a+new+template that shows how to add to the available templates and a question here: How to add to the "New from Template" list? that shows how to add them to the File > New from template menu.

Related

HTML Editor from ASP.NET with file upload and insert

I have a website that is ASP.NET Webforms VB. I need to add to it a HTML text editor with file upload so images (for example) can be uploaded and inserted or selected from previously uploaded and inserted.
I have seen TinyMCE can do this but seemingly with me having to work on the Plugin.
Can anyone advise on something that can achieve the above but kind of working "out of the box"?
Free ideally but can look at commercial.
Again it is Webforms so not MVC or anyting like that.
HZ
The ajaxtool kit has two kinds of file uploaders, and also has a html editor, and the editor does have a up-load option that can be added as a custom button.
You can find the demos here, including the HTML editor:
http://www.ajaxcontroltoolkit.net/
You can install using nuget if you wish (the most easy).

How to get the HTML and CSS generated by tinymce

I recently started building an open-source blog for programmers.... I am work with tinymce... Can you tell me how to get the HTML and CSS file generated by tinymce editor

Visual Studio 2015 - Associate custom file extension with cshtml editor

I have a file with custom extension which contains Razor Syntax. I would like open this file as cshtml to see highlighted Razor Syntax.
What kind of editor should I associate in Tools->Options->Text Editor->File Extension with my custom extension?
I've already tried all editors from the combobox but without success.
When I change the extension to cshtml then Razor Syntax is highlighted.
Unfortunately it looks like this may not be possible - see this question.
Personally, I'm using the RazorEngine to generate HTML emails and all my templates use .cshtml extensions for this very reason. I don't have any particular reason to change it.

Validate HTML and CSS for all files in Visual Studio project

I have an ASP.NET MVC website project in Visual Studio 2012. When I open an HTML or CSS file, the editor will create a warning if some of the HTML/CSS is invalid according to the HTML/CSS specification.
Is there a way to show warnings for all HTML/CSS files in the entire project without having to open each individual file?

Is there a way to add a designer view for the cshtml razor editor?

I am using an inhouse tool we developed to parse razor templates with generated models.
The thing is that now it requires loading the template every time in order to parse it.
I wanted to add an edior so i could preview the cshtml while writing it, so i thought the best way would be to make it a visual studio extension.
I researched the web and it seems to me like you can write a custom editor for VS, but then I have to write the editor itself, which i dont want to do.
Is there a way to use the existing razor editor built in to VS2012 and add a preview tab with my control that gets the current text from the razor editor so i can parse it and show the preview?
The reason want to use the existing editor is for coloring, intellisense, error handling etc.
There is no built-in support for a design view for Razor (CSHTML and VBHTML) files. Part of the reason for this is that they are a mix of code and HTML, which ranges from "very difficult" to "super impossible" to parse.
Having said that, there's a super cool feature in VS2012 called Page Inspector that can show you the real rendered page alongside the code that generated it (e.g. your Razor view) and the mappings between them, even if some of the content came from a layout page or partial view.
Check out http://msdn.microsoft.com/en-us/library/hh420390(v=VS.110).aspx and look for the "Page Inspector" section, which includes links to several blog posts and videos that describe the feature in depth.
Here's an excerpt:
Page Inspector is a tool that renders a web page (HTML, Web Forms, ASP.NET MVC, or Web Pages) directly within the Visual Studio IDE. You can use Page Inspector to examine both the source code and the resulting output. For ASP.NET pages, you can use Page Inspector to determine which server-side code has produced the HTML markup that is rendered to the browser. Page Inspector works even when the default ASP.NET bundling and minification features are enabled.