DW Edit - Preferences - Code Format Options
Does anyone know the configuration file that Edit ->
Preferences -> Code Format pulls the information from?
I need to customize this piece for my users and default some
options.
thanks
i wasnt able to find any registry info that you suggested. do
you know of the exact key or path for the registry value you
suggested?
also, i was actually looking for the "general" options and
not code format, my mistake. particularly i would like to uncheck
"Use CSS instead of HTML Tags" and "Use <strong> and
<em>..."
there is no .htm or .js file in the configuration folder that
pulls these values from?
thanks
Similar Messages
-
Code format options ---Version 1.5.1.
Hi all,
I am new to SQL Developer tool.
Want to know where I can find settings for code formating options, like PL/SQL developer-Beautifier.
Also, can we generate E-R diagram like in Toad.
Tool Version 1.5.1.
Thanks in advance.Better get version 2.1.1 or the latest 3.0 EA for more formatter options (inside the Preferences - Database - SQL Formatter).
The EA's also have the Data Modeler incorporated, but you can get the last production version in stand-alone too.
Read the online help inside sqldev for more info.
Have fun,
K. -
My auto-indent and code formatting is not working.
Usually on dreamweaver CS5.5 my code (html) would indent my <div> tags and align them up with the end div </div>. Not only were the <siv> tags formateed but various of others tags were as well.
How Dreamweaver used to format my code:
<head>
<title>Example</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
</head>
<body>
<div id="outside_container">
<div id="container">
<a href="#"><img src="images/logo.jpg" id="logo" /></a>
<ul id="menu">
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
</ul>
<ul id="right_menu">
<li><a href="#">t</a></li>
<li><a href="#">t</a></li>
</ul>
<img src="images/panel_home.jpg" id="panel" />
<div id="content">
<div class="column1">
<h2>Text</h2>
<p>Text Here</p>
</div>
Now it does not even format it so all of my code aligns on the left like so:
<head>
<title>Example</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
</head>
<body>
<div id="outside_container">
<div id="container">
<a href="#"><img src="images/logo.jpg" id="logo" /></a>
<ul id="menu">
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
</ul>
<ul id="right_menu">
<li><a href="#">t</a></li>
<li><a href="#">t</a></li>
</ul>
<img src="images/panel_home.jpg" id="panel" />
Can anybody please help me?Did you try Edit > Preferences > Code Format > Indent?
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Dreamweaver CS3 Code Formatting broken
Hello, I am experiencing a huge deal of frustration with the
way Dreamweaver improperly formats code. In particular, the UL / LI
tags do not format correctly. Here is what I am trying to achieve:
<ul>
<li>
TEXT
</li>
</ul>
Now this pattern seems to correspond exactly to the preview
that you see when you go to Preferences > Code Format > Tag
Libraries, select the LI tag and choose Line Breaks: Before,
Inside, After and Contents: Formatted and Indented.
I have done this. I have also manually checked the .vtm file
in username > Application Data > Adobe > Dreamweaver >
Configuration etc.... and it corresponds to what I have set in the
Prefs.
However, when I use Design View to create the unordered list,
OR even if I just TOUCH a properly formatted list in Design View,
everything gets squeezed onto one line. I get this sort of thing:
<ul> <li>TEST</li> <li>MORE
TEST</li> </ul>
Here is what I have tried unsuccessfully to date:
1. Prefs > Code Formatting > Edit Tag Libraries...
2. Prefs > Code Format > UNCHECK Do not include a break
inside TD tag (I know, that's for TD, but I'm just trying
everything(
3. Prefs -> line breaks (tried Unix, Windows)
4. Commands > Apply Source Formatting (messes up my entire
code by putting everything inside the BODY tag on one line - in
other words, my entire page goes on one line now!)
5. Automatic Wrapping After Column 76 - this one is really
stupid, it just does a HARD break on each line so when you turn it
back off you have to go in and manually delete all these hard
breaks now...
There's a bunch of other small things I have tried, but
needless to say, nothing appears to be working.
Has no one else experienced this? Can you get Design View to
properly format UL / LI tags? If so, then something on my computer
is messed. But when I look at code generated by DW on some of my
co-workers' computers, they also have the same problem - I just
guess their tolerance for crappy code is higher than mine.
I'm using DW 9.0 (CS3) build 3481.
Please help! I have no hair left on my head to tear out and I
may have to go further afield.... ouch!
Thanks,
TomI just checked on DW CS4 and it's working as expected. If I
change my LI
entry in the Tag Libraries to Line Breaks: Before, Inside,
After and
Contents like you, I get your desired effect. Moreover, it
doesn't revert -
or worse if any changes are made, whether in Design or Code
view. I know
this doesn't help you verify or correct your CS3 issue, but
at least you
know there is an upgradeable light at the end of the tunnel.
Best - Joe
Joseph Lowery
VP of Product Management, WebAssist -
http://www.webassist.com
Author, Dreamweaver CS3 Bible -
http://www.idest.com/dreamweaver/
"tomaugerdotcom" <[email protected]> wrote
in message
news:[email protected]...
> Hello, I am experiencing a huge deal of frustration with
the way
> Dreamweaver
> improperly formats code. In particular, the UL / LI tags
do not format
> correctly. Here is what I am trying to achieve:
>
>
> TEXT
> </li>
>
>
> Now this pattern seems to correspond exactly to the
preview that you see
> when
> you go to Preferences > Code Format > Tag
Libraries, select the LI tag and
> choose Line Breaks: Before, Inside, After and Contents:
Formatted and
> Indented.
>
> I have done this. I have also manually checked the .vtm
file in username >
> Application Data > Adobe > Dreamweaver >
Configuration etc.... and it
> corresponds to what I have set in the Prefs.
>
> However, when I use Design View to create the unordered
list, OR even if I
> just TOUCH a properly formatted list in Design View,
everything gets
> squeezed
> onto one line. I get this sort of thing:
>
TEST</li>
MORE TEST</li>
>
> Here is what I have tried unsuccessfully to date:
>
> 1. Prefs > Code Formatting > Edit Tag Libraries...
> 2. Prefs > Code Format > UNCHECK Do not include a
break inside TD tag (I
> know,
> that's for TD, but I'm just trying everything(
> 3. Prefs -> line breaks (tried Unix, Windows)
> 4. Commands > Apply Source Formatting (messes up my
entire code by putting
> everything inside the BODY tag on one line - in other
words, my entire
> page
> goes on one line now!)
> 5. Automatic Wrapping After Column 76 - this one is
really stupid, it just
> does a HARD break on each line so when you turn it back
off you have to go
> in
> and manually delete all these hard breaks now...
>
> There's a bunch of other small things I have tried, but
needless to say,
> nothing appears to be working.
>
> Has no one else experienced this? Can you get Design
View to properly
> format
> UL / LI tags? If so, then something on my computer is
messed. But when I
> look
> at code generated by DW on some of my co-workers'
computers, they also
> have the
> same problem - I just guess their tolerance for crappy
code is higher than
> mine.
>
> I'm using DW 9.0 (CS3) build 3481.
>
> Please help! I have no hair left on my head to tear out
and I may have to
> go
> further afield.... ouch!
>
> Thanks,
>
> Tom
> -
Code formatting, indenting, and commenting
This question was posted in response to the following article: http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb5-25a895a612e8e9b8c8e-7fff .html
MXML code formatting options are very limited in Flash Builder 4.5. Compare that to the vast amount of options you have to format Java code in Eclipse. I would expect more from a proprietary software.
-
How can I access the Edit preferences performance use Graphics Processor option through the jsx scri
I want to runa a script with and without GPU options. I made an actionto click on the Edit>Preferences>Performace>use graphics processor checkbox. But now I want to check wether the checkbox is ticked or not to determine i should use it for a with GPU run or without GPU run. I cant seem to find the prefernce/property/object name to access this selection in the photoshop scripting library. Can someone help me here?
I did not see anything in the Object Viewer for preference open GL, performance or GPU so I do not think there is a DOM method available to retrieve or set it. You can set it using the action manager using scriptlistener code.
// =======================================================
var idsetd = charIDToTypeID( "setd" );
var desc29 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
var ref19 = new ActionReference();
var idPrpr = charIDToTypeID( "Prpr" );
var idCchP = charIDToTypeID( "CchP" );
ref19.putProperty( idPrpr, idCchP );
var idcapp = charIDToTypeID( "capp" );
var idOrdn = charIDToTypeID( "Ordn" );
var idTrgt = charIDToTypeID( "Trgt" );
ref19.putEnumerated( idcapp, idOrdn, idTrgt );
desc29.putReference( idnull, ref19 );
var idT = charIDToTypeID( "T " );
var desc30 = new ActionDescriptor();
var idMmrU = charIDToTypeID( "MmrU" );
var idPrc = charIDToTypeID( "#Prc" );
desc30.putUnitDouble( idMmrU, idPrc, 90.000000 );
var idopenglEnabled = stringIDToTypeID( "openglEnabled" );
desc30.putBoolean( idopenglEnabled, true );
var idCchP = charIDToTypeID( "CchP" );
desc29.putObject( idT, idCchP, desc30 );
executeAction( idsetd, desc29, DialogModes.NO ); -
Option missing in edit-preferences
I have downloaded the trial version. The help menu said that the import panel in edit-preference-convert to pdf-edit setting, may included 13 options. In my trial version, i only have 6 options. Is this normal? I needed to have the ''Import external references'' option.
What file type are attempting to convert? I only see the "Import External References" option available with the MicroStation CAD Graphic format.
-
How can I Edit preferences performance use Graphics Processor option through the jsx script
Hi I need to check and access the Edit>preferences>performance>use Graphics Processor option setting through the script. i cant find it in the object domain, I have the following to check the current state:
var ref = new ActionReference();
ref.putEnumerated( charIDToTypeID('capp'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
var openglEnabled = executeActionGet(ref).getObjectValue (charIDToTypeID('CchP')).getBoolean (stringIDToTypeID('openglEnabled'));
alert( openglEnabled );
but then i am unable to set the value using this:
var openglEnabled = executeActionGet(ref).getObjectValue (charIDToTypeID('CchP')).putBoolean (stringIDToTypeID('openglEnabled'));
I tried using a recorded action but that doesnt work. Any recommendations?If you load the scriptlisener plug-in when you set your preference to enable your GPU it will record the code you need. The Code I posted to your thread in the scripting forum the other day.
// =======================================================
var idsetd = charIDToTypeID( "setd" );
var desc29 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
var ref19 = new ActionReference();
var idPrpr = charIDToTypeID( "Prpr" );
var idCchP = charIDToTypeID( "CchP" );
ref19.putProperty( idPrpr, idCchP );
var idcapp = charIDToTypeID( "capp" );
var idOrdn = charIDToTypeID( "Ordn" );
var idTrgt = charIDToTypeID( "Trgt" );
ref19.putEnumerated( idcapp, idOrdn, idTrgt );
desc29.putReference( idnull, ref19 );
var idT = charIDToTypeID( "T " );
var desc30 = new ActionDescriptor();
var idMmrU = charIDToTypeID( "MmrU" );
var idPrc = charIDToTypeID( "#Prc" );
desc30.putUnitDouble( idMmrU, idPrc, 90.000000 );
var idopenglEnabled = stringIDToTypeID( "openglEnabled" );
desc30.putBoolean( idopenglEnabled, true );
var idCchP = charIDToTypeID( "CchP" );
desc29.putObject( idT, idCchP, desc30 );
executeAction( idsetd, desc29, DialogModes.NO ); -
In iTunes on my windows 7 PC, in the Edit/Preferences dropdown window,some of the tab windows are not large enough to see all options that are available. The borders of the window cannot be draged larger. As a result, I can not uncheck or check some box's on several of the preferences pages. The Apple people at the store did not help. I have lownloaded the latest version of iTunes and this is still an issue. HELP.
Is there really nobody else with this problem? Really?
-
Hi i am getting Innternal Error in jdeveloper IDE in side preferences- code editer- java
hi i am getting Innternal Error in jdeveloper IDE in side preferences->code editer->java
if u know something about this error psease share here
java.lang.NullPointerException
at oracle.jdevimpl.java.editing.JavaOptionsPanel.loadSettingsFrom(JavaOptionsPanel.java:186)
at oracle.jdevimpl.java.editing.JavaOptionsPanel.onEntry(JavaOptionsPanel.java:67)
at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:1220)
at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:1201)
at oracle.ide.panels.MDDPanel.access$1200(MDDPanel.java:128)
at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1657)
at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1525)
at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1519)
at javax.swing.Timer.fireActionPerformed(Timer.java:291)
at javax.swing.Timer$DoPostEvent.run(Timer.java:221)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1046)
at java.awt.Dialog$3.run(Dialog.java:1098)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1096)
at java.awt.Component.show(Component.java:1585)
at java.awt.Component.setVisible(Component.java:1537)
at java.awt.Window.setVisible(Window.java:842)
at java.awt.Dialog.setVisible(Dialog.java:986)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:808)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:601)
at oracle.ide.ceditor.CodeEditorController.handleEvent(CodeEditorController.java:956)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)Hi,
make sure the IDE is installed with the proper JDK version
Frank -
How can I disable the Edit- Preferences- Network- Settings- Noproxy option
I want to disable the Edit->Preferences->Network->Settings->Noproxy option
Every user user should access internet only via proxy settings what i should do for that and also should not be allowed to change the optionNote that on Linux, the default is to use the "Use the system proxy settings" setting for the connection.
You can look at these prefs to lock:
*http://kb.mozillazine.org/network.proxy.type
*http://kb.mozillazine.org/network.proxy.%28protocol%29
*http://kb.mozillazine.org/network.proxy.%28protocol%29_port
Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg");
These functions can be used in the mozilla.cfg file:
defaultPref(); // set new default value
pref(); // set pref, but allow changes in current session
lockPref(); // lock pref, disallow changes -
Jdeveloper: Tool Preferences Code Editor Save Actions. Why no code format?
For me Format and Organize Imports are the 2 main save actions?
Can I write a plugin or something to have the code format working for me?
Best Regards,
JPWhich version of jdev you are talking about?
In 11.1.1.2.0 I can select reformat as save action.
Timo -
JDev 10.1.3 - Early Release - JAVA Code Reformatter - Options ?
Hi All,
how do I specify formating options for the java source code reformatter ?
I don't like the way it reformats my code.
TIA
BillTools -> Preferences -> Code Editor -> Code Style -> Edit (Button): change anything to the way you prefer, save it. Now "Reformat" will work the way you desire. This only applies to Java code, and not files containing JSP, HTML, etc. A JDev developer mentioned that they will probably, at least, allow tab/space customization for those types of files in some future version.
-Chris -
While Enter The Key Word my code Format is Change.
Hi Team,
I have problem with SQE Developer Tool Version 3.1.06 while pressing the Enter button the above recodes are change the format as CAPITAL LETTER FORMAT.
And
will doing CTL+7 this format is change in PL/SQL format but i change the format as A4 size format. I want to increase size.
Thank for Advance.
Team can solution about this..?
Edited by: 870003 on Apr 17, 2012 4:24 AMHi,
To adjust font / font size, use Tools|Preferences|Code Editor|Fonts.
To control capitalization, try Tools|Preferences|Database|SQL Formatter, switch to/edit the profile you want to use, and adjust using Other|Case change.
Hope this helps,
Gary
SQL Developer Team -
PLSQL Editor Code Formating Rules
Hi,
In the past I have used a tool for plsql development called PL/SQL Developer by AllAround Automations. It has a great "beutifier" featur that would allow me to customize some of my own code formatting rules. I've found a similar feature in jdeveloper for java code, but I would like to use the capabilities of jdev to do my pl development as well (just use one tool).
If anyone has any insights into knowing if the rules can be modified so that when I choose the menu option "format sql", it allows me to customize as I don't like the default behavior.
THanksHi,
which JDeveloper version are you on? I am asking because in JDeveloper 11 we use a snapshot of SQL Developer for PLSQL editing in JDeveloper. Can you have a look at this tool to see if the formatting is a you need it. If not, please post suggestions to
http://www.oracle.com/technology/software/products/sql/index.html
Frank
Ps.: I checked teh formatting options in JDeveloper 11 and there are plenty of them
Maybe you are looking for
-
Hi, How to do Tax breakup in Crystal Report
-
Two iPhones, two accounts, but I need to share the contacts.
I recently sold my old iPhone and got a new one. Through an unfortunate series of events I lost all the contacts on my new phone. I borrowed the one I sold (which still had my contacts on it) and synced it up with iTunes. That went fine but when I pl
-
Is There Something Similar To Enterprise Manager In 8i?
Hi, Is there any utility in Oracle 8i EE, similar to Enterprise Manager of the earlier versions (I have used Enterprise Manager in 8.0.5)? I have installed Oracle 8i EE but can't find anything similar to Enterprise Manager? TIA, Dipanjan
-
Cando touchscreen right click evtouch - should work for others too
I've made some changes to the xf86-input-evtouch PKGBUILD that i enclose here (not the official one) , now it works out of the box with Cando touchscreen in monotouch mode and with windows style right click. It should work with others touchscreen too
-
Sending complete list of email addresses in addressto another mac via email
Hi, Can anyone tell me how to send all my email addresses in address book to my other mac via email which is at another house please? thanks George UK