```coffeescript
define [
	"base"
], (App) ->
	App.controller "FeatureOnboardingController", ($scope, settings) ->
		$scope.isFeatureSettingDefined = window.userSettings.syntaxValidation?;

		$scope.innerStep = 1

		$scope.turnCodeCheckOn = () ->
			settings.saveProjectSettings({ syntaxValidation: true })
			navToInnerStep2()
			
		$scope.turnCodeCheckOn = () ->
			settings.saveProjectSettings({ syntaxValidation: false })
			navToInnerStep2()

		$scope.dismiss = () ->
			# TODO Toggle logic.
			$scope.isFeatureSettingDefined = false 

		navToInnerStep2 = () ->
			$scope.innerStep = 2
			$scope.ui.leftMenuShown = true
```

Save the syntax validation setting in the onboarding view.
user
```coffeescript
define [
	"base"
], (App) ->
	App.controller "FeatureOnboardingController", ($scope, settings) ->
		$scope.isFeatureSettingDefined = window.userSettings.syntaxValidation?;

		$scope.innerStep = 1

		$scope.turnCodeCheckOn = () ->
			settings.saveSettings({ syntaxValidation: true })
			navToInnerStep2()
			
		$scope.turnCodeCheckOn = () ->
			settings.saveSettings({ syntaxValidation: false })
			navToInnerStep2()

		$scope.dismiss = () ->
			# TODO Toggle logic.
			$scope.isFeatureSettingDefined = false 

		navToInnerStep2 = () ->
			$scope.innerStep = 2
			$scope.ui.leftMenuShown = true
```
assistant