Format Document Problems

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Format Document Problems

Postby JefferyS » March 15th, 2017, 2:07 am

Hi, the last couple days when I would Format Document on a php file I would get an error Object instance is ..... can't remember the rest.

So I uninstalled PHP Tools and reinstalled. That error went away but now it only seems to be reformatting part of the document. It formatted the inline PHP code but not the HTML.

I've looked at everything I could and just can't seem to figure it out.

I've been setting the html format settings in the HTML (Web Forms) options.
That is the only place I've found to set those. I've changed several tags to see if it would do anything but doesn't seem to.

Any ideas whet might be wrong or what I'm not setting correctly?

Any help would be most appreciated!

Thanks,

Jeffery
JefferyS
 
Posts: 2
Joined: March 15th, 2017, 1:45 am

Re: Format Document Problems

Postby Miloslav Beno » March 20th, 2017, 12:30 pm

Hi Jeffrey,

Thanks for the question.

The original error seems to be just installation issue which should be eliminated when using the latest.

May I ask what VS version are you using? This hugely depends on the version, unfortunatelly each VS has this implemented differently.

Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 993
Joined: January 7th, 2012, 8:36 pm

Re: Format Document Problems

Postby JefferyS » March 27th, 2017, 1:57 am

Hi, thanks for replying.

Got side tracked on some other work...

I have Visual Studio 2015 Community.

I just downloaded the March 24th release and installed it and it is not working either. It changes the PHP code but does nothing to the html code in the page.

I even went in and changed the formatting for the td tag to add lines before and after and after and before or something like that. Should have made a huge change but did nothing.

If I rename the file with a html extension is works fine.

I'm at a loss as why this isn't working.

Microsoft Visual Studio Community 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Community

Microsoft Visual Studio Tools for Applications 2015 00322-20000-00000-AA199
Microsoft Visual Studio Tools for Applications 2015

Visual Basic 2015 00322-20000-00000-AA199
Microsoft Visual Basic 2015

Visual C# 2015 00322-20000-00000-AA199
Microsoft Visual C# 2015

Visual C++ 2015 00322-20000-00000-AA199
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU 00322-20000-00000-AA199
Windows Phone SDK 8.0 - ENU

AnkhSVN - Subversion Support for Visual Studio 2.6.12735.14
AnkhSVN - Subversion Support for Visual Studio 2.6.12735.14
* Ankh.Package 2.6.12735.14
* Subversion 1.9.2 via SharpSvn 1.9002.3777.76

SharpSvn is linked to: Apr 1.5.1, Apr-util 1.5.4, Cyrus Sasl 2.1.26, eXpat 2.1.0, LibSSH2 1.6.0, OpenSSL 1.0.2d 9 Jul 2015, Serf 1.3.8, SQLite 3.8.11.1, Subversion 1.9.2-SharpSvn, Utf8proc 1.1.5, ZLib 1.2.8
SharpSvn is optionally linked to: Berkeley DB 4.4.20, SharpPlink 0.65.0(SharpSvn)

Application Insights Tools for Visual Studio Package 7.18.00214.2
Application Insights Tools for Visual Studio

Arduino for Visual Studio 1.0
Arduino extension for Visual Studio. For more information please see docs, faq and forum at http://www.visualmicro.com

ASP.NET AJAX Control Toolkit 1.0
ASP.NET AJAX Control Toolkit Visual Studio integration package

ASP.NET and Web Tools 2015.1 14.1.21111.0
ASP.NET and Web Tools 2015.1

ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013 5.2.40314.0
For additional information, visit http://www.asp.net/

Azure App Service Tools v2.8.1 14.0.11123.0
Azure App Service Tools v2.8.1

CodeMaid 10.3.29
CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, R, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.

Common Azure Tools 1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

DPack 3.9.5
DPack for Visual Studio
Copyright © 2004-2016 USysWare, Inc.
For more information, visit http://www.usysware.com/dpack/ or contact us at support@usysware.com

JavaScript support via JavaScript Parser extension by Oleksandr Boiko

Indent Guides 15
Indent Guides

Adds visual guides at each indentation level.

JavaScript Language Service 2.0
JavaScript Language Service

JavaScript Project System 2.0
JavaScript Project System

Microsoft .NET Core Tools (Preview 2) 14.1.21111.0
Microsoft .NET Core Tools (Preview 2)

Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools

Multiline Search and Replace 2.1
Adds multiline search and replace functionality to Visual Studio.

MySQL for Visual Studio 1.2.6
Data design and management tools for MySQL. Copyright © 2007-2015 Oracle, Inc.

NuGet Package Manager 3.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PHP Tools for Visual Studio 1.23.9750.2015
PHP Tools extend Visual Studio with a set of features to build PHP applications more efficiently. It makes code more readable, easier to navigate, and clean.

PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Python Tools for Visual Studio 2.2.50113.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.

Python Tools for Visual Studio - Django Integration 2.2.50113.00
Provides templates and integration for the Django web framework.

Python Tools for Visual Studio - Profiling Support 2.2.50113.00
Profiling support for Python projects.

SQL Server Analysis Services 13.0.1701.8
Microsoft SQL Server Analysis Services Designer
Version 13.0.1701.8

SQL Server Data Tools 14.0.61021.0
Microsoft SQL Server Data Tools

SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 13.0.1601.5

SQL Server Reporting Services 13.0.1701.8
Microsoft SQL Server Reporting Services Designers
Version 13.0.1701.8

Tabs Studio 4.0.0
The document tabs manager.

TypeScript 1.8.36.0
TypeScript tools for Visual Studio

Visual Assist
For more information about Visual Assist, see the Whole Tomato Software website at http://www.WholeTomato.com. Copyright (c) 1997-2016 Whole Tomato Software, Inc.

Visual C++ for Cross Platform Mobile Development 1.0
Visual C++ for Cross Platform Mobile Development

Xamarin 4.1.1.3 (34a92cd)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android 6.1.1.1 (7db2aac)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS 9.8.1.4 (3cf8aae)
Visual Studio extension to enable development for Xamarin.iOS.

Thanks,

Jeffery
JefferyS
 
Posts: 2
Joined: March 15th, 2017, 1:45 am


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 2 guests

cron

User Control Panel

Login

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 2 guests
Phalanger