 
     displayName : 'ProjectFiles-NoFiles'
 
-    # Determines whether or not an extension is given
-    ext_defaulter : ->
-        if @props.file_search?.lastIndexOf('.') <= @props.file_search?.lastIndexOf('/')
-          "sagews"
-
     # Go to the new file tab if there is no file search
     handle_click : ->
         if not @props.file_search?.length > 0

        </div>

    render : ->
        <Row style={textAlign:'left', color:'#888', marginTop:'20px'} >
            <Col sm=2>
            </Col>
            <Col sm=8>

    render_help_text : ->
        last_folder_index = @props.file_search?.lastIndexOf('/')
        if @props.file_search?.length > 0 and last_folder_index > 1
            if @props.file_search.indexOf('/') == last_folder_index
                text = "This will create a folder named #{@props.file_search}"
            else if last_folder_index == @props.file_search.length - 1
                text = "This will create the nested folder structure #{@props.file_search}"
            else
                text = "This will create #{@full_path_text().slice(last_folder_index + 1)} under the folder path #{@props.file_search.slice(0, last_folder_index + 1)}"
            <Alert style={marginTop: '10px'} bsStyle='info'>
                {text}
            </Alert>

