Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Eclipse formats style code within {}( Problem with code formatting)
Eclipse formats style code within {} [message #1829291] Tue, 30 June 2020 15:12
Marcelo Silva is currently offline Marcelo SilvaFriend
Messages: 1
Registered: June 2020
Junior Member
Hello friends,
I am new here and I would like to count on your help and in what I can help I will be available, forgive me I am not fluent in English so I will use google translate.

I have a problem in formatting the eclipse version 4.16.x

I have to use variables in the {variable} format in the middle of the code.

Example:

<div id = "myID" style = "display: {status}"> MY TEXT </div>

When I format the text it simply removes all content from the style leaving it like this:

<div id = "myID" style = ""> MY TEXT </div>

He is understanding that the variable "{state}" is a code and ends up formatting erroneously, how to make this ignore this type of string?
Previous Topic:Eclipse 2020-06 - JavaScript Content Assist
Next Topic:Cryptic error message about "The selection cannot be launched..."
Goto Forum:
  


Current Time: Thu May 02 06:16:38 GMT 2024

Powered by FUDForum. Page generated in 0.03135 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top