0

import from Working copy AND link the checked out code to an sftp connection

Arieljake 8 years ago in iPad updated by Alexander Blach (Developer) 8 years ago 1

i downloaded my code from GitHub using working copy, and now, want to see/test my changes as I work by uploading code to a server using sftp. Is there a way to set the remote connection for a github repo in Textastic to an ssh connection so that I can get the Upload File option under the share button?

Answer

Yes: First, make sure to add the Working Copy repository to Textastic using Drag & Drop as shown in the video at https://www.youtube.com/watch?v=Z0gyGwsF8vI

Navigate into the repository you just edit and edit the file. Then tap on the "globe" button to open the remote file transfer screen. 


Upload the file to your test server. You only need to do that once. After the first upload, the file is linked to the remote location and you can use the share button to upload it to that locatiation.

0

White Theme

Jane Peppers 8 years ago in General 0

None of the currently available themes work for me. 


I would love to see a proper white clean iOS 11 theme

0
Under review

Upload to Dropbox and GDrive fails

Steve Knoblock 8 years ago in iPhone updated 8 years ago 2

For about three weeks now uploads to Dropbox and GDrive fail. I have not been able to back up my files there since.

0

Loading Zip

GS AED 8 years ago 0

Losing ZIP files from  my IPAD is not working, impossible to extract.

0
Fixed

External Storage Provider Display Issues

Ara Adkins 8 years ago in General updated by Alexander Blach (Developer) 8 years ago 3

iOS Version: 11.2 Beta 1

Device: iPhone X


When opening a folder from an external storage provider (e.g. Working Copy), the application used to display 'Working Copy' under the folder name, and the app icon to the left. The application now displays a basic folder icon and 'External: Storage Provider' for folders. 


This is more of an aesthetic defect than anything else as it doesn't impact functionality, but I thought I would report the issue anyway! You can see it in the attached screenshot.


Image 230

 

0
Under review

Textastic adds .txt extension to TaskPaper-Files on edit

jscholtes 8 years ago in iPhone updated 8 years ago 3

when i open a TaskPaper file test.taskpaper via the new ios11 Files App ,

the file is recognized as plain/text and after edit the file is renamed to test.taskpaper.txt.


This is really annoying

0
Fixed

iPhone X UI Issues

Ara Adkins 8 years ago in iPhone updated by Alexander Blach (Developer) 8 years ago 3

While the UI functions fine there are a couple of visual issues with Textastic on the iPhone X when editing a file:

  1. The addon keyboard does not span the width of the entire screen, making it fairly difficult to touch.
  2. The top of the screen features a grey bar (though in practice this is mostly hid under the notch). 

Please see the image below for a depiction of both issues. 


Image 229

0
Fixed

Replace UI bug - scrolling the list of matches - scrolling region height is insufficient

Cecil Ward 8 years ago in iPad updated by Alexander Blach (Developer) 8 years ago 3

search+Replace UI bug - sometimes I can't scroll a long list of matches down far enough to be able to see the last entry properly, and so can not hit the 'do it' action button. (I can pull the last entry upwards temporarily to reveal it, but then it just bounces back downwards again when I let it go.)


Speculation: I don't even know whether this is within your control, I would assume that the calculation of the scrolling region's height is incorrect, value is below what it needs to be?

0

**UPDATE** When doc extension absent.....Tab not expanding Emmet on iPad with most current iOS

Louis 88 8 years ago in iPad updated by Alexander Blach (Developer) 8 years ago 1

UPDATE:

Dear Alexander, I apologize, I misunderstood what I was seeing.  It appears that tab indeed works just fine but only when doc extension is present (such as .html or .php).  I had created a new document without extension and emmet did not work with tab.  That does not seem to be a problem at all.  



Previous Assumption

I used to be able to expand Emmet with tab in Textastic, but can no longer do that.  I must use CTRL + E.  I’m using iPad Pro 2nd gen, running most current iOS and using Apple smart keyboard....so there is no option of keybinding.  I assume this is a bug since I used to be able to expand with tab not very long ago...a few weeks?

0

Snippet to generate custom JavaScript CodeCompletion file

Tapsi 8 years ago updated 8 years ago 3

Hi guys,


I wrote a small snippet to generate custom JS code completion description files. It can be executed at runtime and parses all objects from the global object and tries to extract their API.


I know at the moment Textastic does not supports suggestion of file symbols nor project wide symbols. That's why this snippets maybe helps people to workaround that missing feature.

At the moment this snippet is very limited and only makes the method names available in the editor without any context. I plan to add the context information and maybe also the function parameters for the completion data.  


So if you're interested in this snippet, then I can share future versions of the script here. :) 




const logCompletionDescriptionData = () => {
          const getSymbols = function() {
            const getSymbolsOfObject = (obj, symbols = [], level = 0) => {
              if (level == 5) return []
              return Object
                .keys(obj)
                .filter(key => symbols.indexOf(key) === -1)
                .filter(key => isNaN(parseInt(key)))
                .map((key, i, array) => {
                  const value = obj[key]
                  if (!value) return [key]
                  
                  const isArray = Array.isArray(value)
                  const isFunction = typeof value === "function"
                  
                  if (!isArray && !isFunction) {
                    return [key].concat(getSymbolsOfObject(value, array, level + 1))
                  }
                  
                  return [key]
                })
                .reduce((a, b) => a.concat(b), [])
                .filter((value, index, self) => self.indexOf(value) === index)
                .sort((a,b) => a < b ? -1 : +1)
            }
              
            return getSymbolsOfObject(window) 
          }     
          
          const metaData = {
            "description": "BlackCats Code",
            "uuid": "DE267669-E66E-400A-ACEA-BD906DC2B813",
            "completionSets": [
              {
                "name": "js.blackcat.code",
                "strings": getSymbols()
              }
            ],
            "contexts": [
              {
                "description": "root",
                "scope": "source.js - comment - string",
                "pattern": "(?<!\\.)\\b([a-zA-Z]*)",
                "completionCaptureIndex": 1,
                "completionSetNames": [
                  "js.blackcat.code"
                ]
              }
            ]
          }
          
          console.log(JSON.stringify(metaData, null, 2))
      }