reformat

How to reformat multi-line comments in Eclipse PDT?

In Eclipse PDT, Ctrl-Shift-F reformats code. However, it doesn't modify comments at all. Is there some way to reformat ragged multi-line comments to 80 characters per line (or whatever)? i.e. convert // We took a breezy excursion and // gathered Jonquils from the river slopes. Sweet Marjoram grew // in luxuriant // profusion by t...

reformat in vim for a nice column layout

Hello, I have this dataset in a csv file 1.33570301776, 3.61194e-06, 7.24503e-06, -9.91572e-06, 1.25098e-05, 0.0102828, 0.010352, 0.0102677, 0.0103789, 0.00161604, 0.00167978, 0.00159998, 0.00182596, 0.0019804, 0.0133687, 0.010329, 0.00163437, 0.00191202, 0.0134425 1.34538754675, 3.3689e-06, 9.86066e-06, -9.12075e-06, 1.18058e-05, 0.0...

Fast algorithm for polar -> cartesian conversion

Hi. I have an image on a polar grid. This image should be transformed into a cartesian grid, but the only algorithm I know of is really slow for this. Now I use the cartesian grid, for each point I find the r and theta values, and then I look in two vectors to find the smallest error defined by: min{(th_vec - theta)^2 + (range - r)^2} ...

Excel data wont re-format or calculate

I have a spreadsheet that was created from a webapp. I save it as an excel wkbk. I close file and go to file and open from my pc. When I try to reformat a column of numbers, nothing happens. (it says the format is 'general' and alignment is 'general & top') it appears as all numbers, left aligned. I have tried to 'unlock' the cells...

Transform source file to different format for target system

Hi, I need to design a system which will process hundreds of source files (different format fixed width and delimited files) and convert to one target files. There should be two interfaces one is command line other web user interface? Command line interface to run the transform job though batch and web user interface to define the fo...

Free tools that automatically reformat whole C/C++ source files in VS2008 on save?

I'm looking for a tool (macro, extension) for Visual Studio 2008 that would reformat the source code (C/C++) when you save the file. ...

Tool to reformat VB.Net code - specifically line breaks

Are there any tools available for automatically formatting vb.net code - specifically for adding line breaks at a predefined line length? I'm working with a lot of code with long lines (thousands of lines), and manually reformatting it is quite time consuming. I've seen a number of tools for rearranging code into regions etc., but haven'...

How to convince management that reformatting entire java code base is safe

How would one go about proving to management that a batch reformat of all .java files in a large code base (to place the code in compliance with the company's coding standards) is safe and will not affect functionality. The answers would have to appease the non-technical and the technical alike. Edit: 03/12/2010Clarification for the t...

Script to reformat XML file

Hello all, I am trying to change an XML file from one format to another and have no clue as to how to write a script for it. Can someone help, please? The source file looks like this: <Record> <FieldValue fieldName="rapportage_nihil" fieldValue="false" fieldValueIsNull="false" fieldValueNatural="false"/> <FieldValue fieldName=...

Seeking a GUI auto-format feature for T-SQL

Is there a freely available GUI tool that will allow interaction with Microsoft SQL Server (via T-SQL) that provides an auto-format feature? I constantly find myself writing queries in SQL Query Analyzer (Microsoft’s standard GUI tool for T-SQL) and cutting/pasting the whole thing into SQLyog (a GUI tool for MySQL), where I can press F1...

What applications do you know of, that can reformat code?

Hello, I am looking for a list of code formatting and prettifying software; I have only found a few topics that all are language specific. This is not about syntax highlighting! If possible, I prefer lightweight, command-line, multiplatform, portable tools. Nevertheless, if there is no interesting alternative, I also like to know what...