Format a whole directory easily (#5816)
* recast a whole directory Signed-off-by: Jess Frazelle <github@jessfraz.com> * move Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
		@ -1,5 +1,6 @@
 | 
			
		||||
@settings(defaultLengthUnit = mm)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
export part001 = startSketchOn('XY')
 | 
			
		||||
  |> startProfileAt([4, 12], %)
 | 
			
		||||
  |> line(end = [2, 0])
 | 
			
		||||
@ -12,4 +13,6 @@ export part001 = startSketchOn('XY')
 | 
			
		||||
  |> close()
 | 
			
		||||
  |> revolve({ axis = 'y' }, %) // default angle is 360
 | 
			
		||||
 | 
			
		||||
export fn two = () => { return 5 }
 | 
			
		||||
export fn two() {
 | 
			
		||||
  return 5
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -11,16 +11,16 @@ description: Operations executed import_function_not_sketch.kcl
 | 
			
		||||
          "value": "XY"
 | 
			
		||||
        },
 | 
			
		||||
        "sourceRange": [
 | 
			
		||||
          66,
 | 
			
		||||
          70,
 | 
			
		||||
          67,
 | 
			
		||||
          71,
 | 
			
		||||
          3
 | 
			
		||||
        ]
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "name": "startSketchOn",
 | 
			
		||||
    "sourceRange": [
 | 
			
		||||
      52,
 | 
			
		||||
      71,
 | 
			
		||||
      53,
 | 
			
		||||
      72,
 | 
			
		||||
      3
 | 
			
		||||
    ],
 | 
			
		||||
    "type": "StdLibCall",
 | 
			
		||||
@ -39,8 +39,8 @@ description: Operations executed import_function_not_sketch.kcl
 | 
			
		||||
          }
 | 
			
		||||
        },
 | 
			
		||||
        "sourceRange": [
 | 
			
		||||
          312,
 | 
			
		||||
          326,
 | 
			
		||||
          313,
 | 
			
		||||
          327,
 | 
			
		||||
          3
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
@ -52,16 +52,16 @@ description: Operations executed import_function_not_sketch.kcl
 | 
			
		||||
          }
 | 
			
		||||
        },
 | 
			
		||||
        "sourceRange": [
 | 
			
		||||
          328,
 | 
			
		||||
          329,
 | 
			
		||||
          330,
 | 
			
		||||
          3
 | 
			
		||||
        ]
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "name": "revolve",
 | 
			
		||||
    "sourceRange": [
 | 
			
		||||
      304,
 | 
			
		||||
      330,
 | 
			
		||||
      305,
 | 
			
		||||
      331,
 | 
			
		||||
      3
 | 
			
		||||
    ],
 | 
			
		||||
    "type": "StdLibCall",
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user